FreeCalypso > hg > freecalypso-hwlab
comparison lcdtest/testmain.c @ 28:de3d3cfcbb35
lcdtest: lcdphone program put together, compiles
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sun, 27 May 2018 22:26:58 +0000 |
parents | 4b7cac119fb5 |
children |
comparison
equal
deleted
inserted
replaced
27:4b7cac119fb5 | 28:de3d3cfcbb35 |
---|---|
10 | 10 |
11 process_cmdline(argc, argv) | 11 process_cmdline(argc, argv) |
12 char **argv; | 12 char **argv; |
13 { | 13 { |
14 int c; | 14 int c; |
15 extern int optind; | |
15 extern char *optarg; | 16 extern char *optarg; |
16 | 17 |
17 while ((c = getopt(argc, argv, "d:")) != EOF) { | 18 while ((c = getopt(argc, argv, "d:")) != EOF) { |
18 switch (c) { | 19 switch (c) { |
19 case 'd': | 20 case 'd': |