# HG changeset patch # User Richard Laager # Date 1133855947 0 # Node ID 0d4484b7a46a695cb19e925ee685aaa9110682d3 # Parent a1c4d7daabe72c2f296a052240fe0a40bad0545a [gaim-migrate @ 14674] Changing the prototypes here broke FreeBSD. Looking at what was changed, I think reverting the changes for this file is best. committer: Tailor Script diff -r a1c4d7daabe7 -r 0d4484b7a46a src/getopt.h --- a/src/getopt.h Tue Dec 06 03:46:25 2005 +0000 +++ b/src/getopt.h Tue Dec 06 07:59:07 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 (void); +extern int getopt (); #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 (void); -extern int getopt_long (void); -extern int getopt_long_only (void); +extern int getopt (); +extern int getopt_long (); +extern int getopt_long_only (); -extern int _getopt_internal (void); +extern int _getopt_internal (); #endif /* not __STDC__ */ #ifdef __cplusplus