summaryrefslogtreecommitdiff
path: root/include/getopt.h
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-08-10 19:47:55 +0000
committerEric Andersen <andersen@codepoet.org>2000-08-10 19:47:55 +0000
commit56e5d28c812ad3851c02d20df93cd6f00ada64bb (patch)
tree465c280227793f76ce052dfc33518a79b0753baa /include/getopt.h
parentf6715fc37990a65ca16f09b4699459ff3eaa9902 (diff)
More stuff. Down to only 43 missing functions before BusyBox will
link. Fixed socket stuff so it doesn't pull in kernel headers and stubbed out fork and clone. A few other header file cleanups. -Erik
Diffstat (limited to 'include/getopt.h')
-rw-r--r--include/getopt.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/getopt.h b/include/getopt.h
index 0d71ff6bd..a4cb95496 100644
--- a/include/getopt.h
+++ b/include/getopt.h
@@ -9,8 +9,9 @@
#include <features.h>
extern char *optarg;
-extern int opterr;
extern int optind;
+extern int opterr;
+extern int optopt;
extern int getopt __P((int argc, char *const *argv, const char *shortopts));