main: Add missing extern variables for getopt

This commit is contained in:
Pali Rohár committed 2014-11-26 16:30:32 +01:00
1 parent db4c7c1951
commit 15219cb99c
1 file changed
+3
+3
View File
@@ -36,6 +36,9 @@
#include "device.h" #include "device.h"
#include "operations.h" #include "operations.h"
extern char *optarg;
extern int optind, opterr, optopt;
static void show_title(void) { static void show_title(void) {
printf("0xFFFF v%s // Open Free Fiasco Firmware Flasher\n", VERSION); printf("0xFFFF v%s // Open Free Fiasco Firmware Flasher\n", VERSION);
} }