# HG changeset patch # User jwe # Date 1041717397 0 # Node ID 9f5e54070c865ca2361cbac2274996492cf10b66 # Parent 3788d56fea50d09855a0938e75e904c0d61844d0 [project @ 2003-01-04 21:56:37 by jwe] diff -r 3788d56fea50 -r 9f5e54070c86 liboctave/getopt.h --- a/liboctave/getopt.h Sat Jan 04 21:40:52 2003 +0000 +++ b/liboctave/getopt.h Sat Jan 04 21:56:37 2003 +0000 @@ -105,14 +105,7 @@ #define optional_argument 2 #if defined (__STDC__) && __STDC__ -#ifdef __GNU_LIBRARY__ -/* Many other libraries have conflicting prototypes for getopt, with - differences in the consts, in stdlib.h. To avoid compilation - 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 (); -#endif /* __GNU_LIBRARY__ */ extern int getopt_long (int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind); extern int getopt_long_only (int argc, char *const *argv,