kopia lustrzana https://github.com/Hamlib/Hamlib
Fix MacOS warning get getopt.h
rodzic
0082572cd0
commit
240407d917
|
@ -102,7 +102,7 @@ struct option
|
||||||
errors, only prototype getopt for the GNU C library. */
|
errors, only prototype getopt for the GNU C library. */
|
||||||
extern int getopt (int argc, char *const *argv, const char *shortopts);
|
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 (void); // do we need this for anything?
|
||||||
#endif /* not __GNU_LIBRARY__ */
|
#endif /* not __GNU_LIBRARY__ */
|
||||||
extern int getopt_long (int argc, char *const *argv, const char *options,
|
extern int getopt_long (int argc, char *const *argv, const char *options,
|
||||||
const struct option *long_options, int *opt_index);
|
const struct option *long_options, int *opt_index);
|
||||||
|
|
Ładowanie…
Reference in New Issue