rely on #include "getopt" to provide getopt's global variables
This commit is contained in:
@@ -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