summaryrefslogtreecommitdiff
path: root/missing/getopt_long.c
diff options
context:
space:
mode:
Diffstat (limited to 'missing/getopt_long.c')
-rw-r--r--missing/getopt_long.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/missing/getopt_long.c b/missing/getopt_long.c
index 2a80fc39..80857369 100644
--- a/missing/getopt_long.c
+++ b/missing/getopt_long.c
@@ -80,7 +80,7 @@
#endif
char *optarg;
-int optind, opterr, optopt;
+int optind, opterr = 1, optopt;
static int getopt_internal(int, char * const *, const char *,
const struct option *, int *, int);