Mercurial > pidgin.yaz
changeset 12370:0d4484b7a46a
[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 <tailor@pidgin.im>
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Tue, 06 Dec 2005 07:59:07 +0000 |
parents | a1c4d7daabe7 |
children | 840a7d176754 |
files | src/getopt.h |
diffstat | 1 files changed, 5 insertions(+), 5 deletions(-) [+] |
line wrap: on
line diff
--- 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