Annotate exported variables in getopt.c
This commit is contained in:
@@ -44,11 +44,11 @@ static char sccsid[] = "@(#)getopt.c 8.1 (Berkeley) 6/4/93";
|
|||||||
/*
|
/*
|
||||||
* get option letter from argument vector
|
* get option letter from argument vector
|
||||||
*/
|
*/
|
||||||
int opterr = 1, /* if error message should be printed */
|
ROKEN_LIB_VARIABLE int opterr = 1; /* if error message should be printed */
|
||||||
optind = 1, /* index into parent argv vector */
|
ROKEN_LIB_VARIABLE int optind = 1; /* index into parent argv vector */
|
||||||
optopt, /* character checked for validity */
|
ROKEN_LIB_VARIABLE int optopt; /* character checked for validity */
|
||||||
optreset; /* reset getopt */
|
int optreset; /* reset getopt */
|
||||||
char *optarg; /* argument associated with option */
|
ROKEN_LIB_VARIABLE char *optarg; /* argument associated with option */
|
||||||
|
|
||||||
#define BADCH (int)'?'
|
#define BADCH (int)'?'
|
||||||
#define BADARG (int)':'
|
#define BADARG (int)':'
|
||||||
|
Reference in New Issue
Block a user