Fix cppcheck warnings in getopt.h

pull/174/head
Michael Black 2020-01-12 11:53:29 -06:00
rodzic e87f5ddf72
commit 60b3e3e8bd
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 6599353EC683404D
1 zmienionych plików z 5 dodań i 5 usunięć

Wyświetl plik

@ -104,15 +104,15 @@ extern int getopt (int argc, char *const *argv, const char *shortopts);
#else /* not __GNU_LIBRARY__ */ #else /* not __GNU_LIBRARY__ */
extern int getopt (); extern int getopt ();
#endif /* not __GNU_LIBRARY__ */ #endif /* not __GNU_LIBRARY__ */
extern int getopt_long (int argc, char *const *argv, const char *shortopts, extern int getopt_long (int argc, char *const *argv, const char *options,
const struct option *longopts, int *longind); const struct option *long_options, int *opt_index);
extern int getopt_long_only (int argc, char *const *argv, extern int getopt_long_only (int argc, char *const *argv,
const char *shortopts, const char *options,
const struct option *longopts, int *longind); const struct option *longopts, int *opt_index);
/* Internal only. Users should not call this directly. */ /* Internal only. Users should not call this directly. */
extern int _getopt_internal (int argc, char *const *argv, extern int _getopt_internal (int argc, char *const *argv,
const char *shortopts, const char *optstring,
const struct option *longopts, int *longind, const struct option *longopts, int *longind,
int long_only); int long_only);
#else /* not __STDC__ */ #else /* not __STDC__ */