diff options
| author | David 'Digit' Turner <digit@google.com> | 2010-10-11 06:01:52 -0700 |
|---|---|---|
| committer | Android (Google) Code Review <android-gerrit@google.com> | 2010-10-11 06:01:52 -0700 |
| commit | b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac (patch) | |
| tree | 904d813773fc93bc9e4efe6767457fea809ddeb8 /libc/include/getopt.h | |
| parent | 5b81b918173b4bf446c1a85240c094e4dd77231f (diff) | |
| parent | bb5581ad6eec40041dab4e961149f7a8a3a83497 (diff) | |
| download | bionic-b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac.zip bionic-b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac.tar.gz bionic-b8d2233e8abc30f33be7d7acc7f3ef6e6aabebac.tar.bz2 | |
Merge "libc: tag missing functions in system headers." into gingerbread
Diffstat (limited to 'libc/include/getopt.h')
| -rw-r--r-- | libc/include/getopt.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/libc/include/getopt.h b/libc/include/getopt.h index 6b4954b..56f1983 100644 --- a/libc/include/getopt.h +++ b/libc/include/getopt.h @@ -71,14 +71,19 @@ int getopt_long_only(int, char * const *, const char *, #ifndef _GETOPT_DEFINED_ #define _GETOPT_DEFINED_ int getopt(int, char * const *, const char *); -int getsubopt(char **, char * const *, char **); + extern char *optarg; /* getopt(3) external variables */ extern int opterr; extern int optind; extern int optopt; extern int optreset; + +#if 0 /* MISSING FROM BIONIC */ +int getsubopt(char **, char * const *, char **); extern char *suboptarg; /* getsubopt(3) external variable */ +#endif /* MISSING */ + #endif __END_DECLS |
