kopia lustrzana https://github.com/Hamlib/Hamlib
Fix cppcheck warnings in getopt.h
rodzic
e87f5ddf72
commit
60b3e3e8bd
10
lib/getopt.h
10
lib/getopt.h
|
@ -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__ */
|
||||||
|
|
Ładowanie…
Reference in New Issue