mirror of
https://github.com/apache/nuttx.git
synced 2026-06-06 16:50:55 +08:00
Various changes associated with symbol tables. Most from Pelle Windestam
This commit is contained in:
+2
-2
@@ -119,7 +119,7 @@ EXTERN int optind; /* Index into argv */
|
||||
EXTERN int optopt; /* unrecognized option character */
|
||||
#else
|
||||
# define optarg (*(getoptargp()))
|
||||
# define optind (*(getopindgp()))
|
||||
# define optind (*(getoptindp()))
|
||||
# define optopt (*(getoptoptp()))
|
||||
#endif
|
||||
|
||||
@@ -183,7 +183,7 @@ int getopt(int argc, FAR char *const argv[], FAR const char *optstring);
|
||||
*/
|
||||
|
||||
FAR char **getoptargp(void); /* Optional argument following option */
|
||||
int *getopindgp(void); /* Index into argv */
|
||||
int *getoptindp(void); /* Index into argv */
|
||||
int *getoptoptp(void); /* unrecognized option character */
|
||||
|
||||
#undef EXTERN
|
||||
|
||||
Reference in New Issue
Block a user