]> git.sesse.net Git - vlc/blobdiff - src/config/vlc_getopt.h
Some platforms may have macros optind optarg and optopt so we don't...
[vlc] / src / config / vlc_getopt.h
index 2a798767a9f9868bfcafcc142966d93a2de8415c..751f762319449fd90806f0f3c5f5139c2921c469 100644 (file)
@@ -28,7 +28,7 @@ typedef struct vlc_getopt_s
    When `getopt' finds an option that takes an argument,
    the argument value is returned here.  */
 
-    char *optarg;
+    char *arg;
 
 /* Index in ARGV of the next element to be scanned.
    This is used for communication to and from the caller
@@ -42,11 +42,11 @@ typedef struct vlc_getopt_s
    Otherwise, `optind' communicates from one call to the next
    how much of ARGV has been scanned so far.  */
 
-    int optind;
+    int ind;
 
 /* Set to an option character which was unrecognized.  */
 
-    int optopt;
+    int opt;
 
 /* The next char to be scanned in the option-element
    in which the last option character we returned was found.