summaryrefslogtreecommitdiff
path: root/lib/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/getopt.h')
-rw-r--r--lib/getopt.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/getopt.h b/lib/getopt.h
index fb30719a..c4519b7f 100644
--- a/lib/getopt.h
+++ b/lib/getopt.h
@@ -105,7 +105,7 @@ struct option
errors, only prototype getopt for the GNU C library. */
extern int getopt (int argc, char *const *argv, const char *shortopts);
#else /* not __GNU_LIBRARY__ */
-extern int getopt ();
+extern int getopt (void);
#endif /* __GNU_LIBRARY__ */
extern int getopt_long (int argc, char *const *argv, const char *shortopts,
const struct option *longopts, int *longind);