1 --- getopt.h.o 2004-10-10 19:48:48.409249432 +0200
2 +++ getopt.h 2004-10-10 19:51:42.610766776 +0200
8 +# if defined __cplusplus && __GNUC_PREREQ (2,8)
9 +# define __THROW throw ()
19 /* Many other libraries have conflicting prototypes for getopt, with
20 differences in the consts, in stdlib.h. To avoid compilation
21 errors, only prototype getopt for the GNU C library. */
22 -extern int getopt (int argc, char *const *argv, const char *shortopts);
23 +extern int getopt (int argc, char *const *argv, const char *shortopts) __THROW;
24 #else /* not __GNU_LIBRARY__ */
25 /* extern int getopt (); */
26 #endif /* not __GNU_LIBRARY__ */
27 extern int getopt_long (int argc, char *const *argv, const char *shortopts,
28 - const struct option *longopts, int *longind);
29 + const struct option *longopts, int *longind) __THROW;
30 extern int getopt_long_only (int argc, char *const *argv,
31 const char *shortopts,
32 - const struct option *longopts, int *longind);
33 + const struct option *longopts, int *longind) __THROW;
35 /* Internal only. Users should not call this directly. */
36 extern int _getopt_internal (int argc, char *const *argv,