Mercurial > hg > octave-terminal
changeset 4289:9f5e54070c86
[project @ 2003-01-04 21:56:37 by jwe]
author | jwe |
---|---|
date | Sat, 04 Jan 2003 21:56:37 +0000 |
parents | 3788d56fea50 |
children | 73431774c0b7 |
files | liboctave/getopt.h |
diffstat | 1 files changed, 0 insertions(+), 7 deletions(-) [+] |
line wrap: on
line diff
--- a/liboctave/getopt.h +++ b/liboctave/getopt.h @@ -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,