aboutsummaryrefslogtreecommitdiff
path: root/missing
diff options
context:
space:
mode:
authorGisle Vanem <gisle.vanem@gmail.com>2018-05-02 18:37:41 -0700
committerGuy Harris <guy@alum.mit.edu>2018-05-02 18:37:41 -0700
commitab7fcd144f38971dbb8b7241c8e4948549f127c8 (patch)
tree563fe79c9b605f892e5d958d8fee6458e504567b /missing
parent0d3df9488a5a19cb2b15f96ee8529aa5822045d2 (diff)
Squelch warning about optreset not being declared.
Diffstat (limited to 'missing')
-rw-r--r--missing/getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/missing/getopt.h b/missing/getopt.h
index d176345a..fc83c944 100644
--- a/missing/getopt.h
+++ b/missing/getopt.h
@@ -2,6 +2,6 @@
* Header for the getopt() we supply if the platform doesn't supply it.
*/
extern char *optarg; /* getopt(3) external variables */
-extern int optind, opterr, optopt;
+extern int optind, opterr, optreset, optopt;
extern int getopt(int nargc, char * const *nargv, const char *ostr);