mirror of
https://github.com/Hamlib/Hamlib.git
synced 2024-09-21 02:17:21 +00:00
Fix MacOS warning get getopt.h
This commit is contained in:
parent
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);
|
||||||
|
Loading…
Reference in New Issue
Block a user