Changes in uspace/lib/c/generic/getopt.c [ba29018:f538ef3] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/c/generic/getopt.c
rba29018 rf538ef3 49 49 int optopt = '?'; /* character checked for validity */ 50 50 int optreset; /* reset getopt */ 51 c har*optarg; /* argument associated with option */51 const char *optarg; /* argument associated with option */ 52 52 53 53 … … 67 67 #define INORDER (int)1 68 68 69 static char EMSG[] = ""; 69 #define EMSG "" 70 70 71 71 static int getopt_internal(int, char **, const char *); … … 73 73 static void permute_args(int, int, int, char **); 74 74 75 static c har *place = EMSG; /* option letter processing */75 static const char *place = EMSG; /* option letter processing */ 76 76 77 77 /* XXX: set optreset to 1 rather than these two */ … … 336 336 if (retval == -2) { 337 337 char *current_argv; 338 c har *has_equal;338 const char *has_equal; 339 339 size_t current_argv_len; 340 340 int i, ambiguous, match;
Note:
See TracChangeset
for help on using the changeset viewer.