]> cloudbase.mooo.com Git - z180-stamp.git/blobdiff - avr/getopt-min.c
reset optind before executing command
[z180-stamp.git] / avr / getopt-min.c
index 8508f401a725329c5aeb35766efaa06392c43d79..401beedfc1b40333494ef213fc338bd96cba726f 100644 (file)
@@ -13,7 +13,7 @@
 #include "common.h"            /* definition of FLASH */
 #include <string.h>
 
-int    optind = 0;                     /* next argv[] index */
+int    optind;                 /* next argv[] index */
 char *optarg;          /* option parameter if any */