Fix MacOS warning get getopt.h

This commit is contained in:
Mike Black W9MDB 2024-09-08 11:50:04 -05:00
parent 0082572cd0
commit 240407d917

View File

@ -102,7 +102,7 @@ struct option
errors, only prototype getopt for the GNU C library. */
extern int getopt (int argc, char *const *argv, const char *shortopts);
#else /* not __GNU_LIBRARY__ */
extern int getopt ();
// extern int getopt (void); // do we need this for anything?
#endif /* not __GNU_LIBRARY__ */
extern int getopt_long (int argc, char *const *argv, const char *options,
const struct option *long_options, int *opt_index);