]> mj.ucw.cz Git - pciutils.git/blobdiff - compat/getopt.h
lspci: Decode PCIe 6.0 Slot Power Limit values
[pciutils.git] / compat / getopt.h
index 0abce6e921dd83c812a4da6cc9af14fa717160c7..e7b4bfe8f5affb89b926478cfbbf9d91c61c6b26 100644 (file)
@@ -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,