src/getopt.h

changeset 12323
f52908fb23b0
parent 9723
638d7a025a72
child 12370
f6ef5d6d905a
--- a/src/getopt.h	Sun Dec 04 18:19:06 2005 +0000
+++ b/src/getopt.h	Sun Dec 04 18:19:56 2005 +0000
@@ -108,7 +108,7 @@
    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 /* not __GNU_LIBRARY__ */
 extern int getopt_long (int argc, char *const *argv, const char *shortopts,
 		        const struct option *longopts, int *longind);
@@ -122,11 +122,11 @@
 		             const struct option *longopts, int *longind,
 			     int long_only);
 #else /* not __STDC__ */
-extern int getopt ();
-extern int getopt_long ();
-extern int getopt_long_only ();
+extern int getopt (void);
+extern int getopt_long (void);
+extern int getopt_long_only (void);
 
-extern int _getopt_internal ();
+extern int _getopt_internal (void);
 #endif /* not __STDC__ */
 
 #ifdef	__cplusplus

mercurial