X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=compat%2Fgetopt.h;h=e7b4bfe8f5affb89b926478cfbbf9d91c61c6b26;hb=cac545f64e6f5863b430f5b94442b777aa7f1165;hp=0abce6e921dd83c812a4da6cc9af14fa717160c7;hpb=ee7d83845f73a71988e3b847fef2d04b07a9aebd;p=pciutils.git diff --git a/compat/getopt.h b/compat/getopt.h index 0abce6e..e7b4bfe 100644 --- a/compat/getopt.h +++ b/compat/getopt.h @@ -95,12 +95,7 @@ struct option #define optional_argument 2 #if __STDC__ || defined(PROTO) -#if defined(__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); -#endif /* not __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,