rely on #include "getopt" to provide getopt's global variables
This commit is contained in:
1 parent
1415588abb
commit
29b70ee8d6
2 files changed
-7
No files matched your search
@@ -46,9 +46,6 @@ char * help_text =
|
||||
|
||||
char * progname = "lcdexec";
|
||||
|
||||
extern char *optarg;
|
||||
extern int optind, optopt, opterr;
|
||||
|
||||
/* Variables set by config */
|
||||
#define UNSET_INT -1
|
||||
#define UNSET_STR "\01"
|
||||
|
||||
@@ -51,10 +51,6 @@
|
||||
#endif
|
||||
/* TODO: fill in what to include otherwise */
|
||||
|
||||
/* REVISIT: externs should be provided by a header */
|
||||
extern char *optarg;
|
||||
extern int optind, optopt, opterr;
|
||||
|
||||
#include "shared/report.h"
|
||||
|
||||
#include "drivers.h"
|
||||
|
||||
Reference in new issue
Block a user