diff options
author | Pali Rohár <pali.rohar@gmail.com> | 2014-11-26 16:30:32 +0100 |
---|---|---|
committer | Pali Rohár <pali.rohar@gmail.com> | 2014-11-26 16:30:32 +0100 |
commit | 15219cb99ce185571638f8b6732300dd32e225bd (patch) | |
tree | 170e5572200a1a015e4c47f09b0d0f6593785049 /src/main.c | |
parent | db4c7c19512504ee1391728248ae08c966a60b43 (diff) | |
download | 0xFFFF-15219cb99ce185571638f8b6732300dd32e225bd.tar.bz2 |
main: Add missing extern variables for getopt
Diffstat (limited to 'src/main.c')
-rw-r--r-- | src/main.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -36,6 +36,9 @@ #include "device.h" #include "operations.h" +extern char *optarg; +extern int optind, opterr, optopt; + static void show_title(void) { printf("0xFFFF v%s // Open Free Fiasco Firmware Flasher\n", VERSION); } |