]> git.sesse.net Git - vlc/blobdiff - src/extras/getopt1.c
Always build and use "our" getopt
[vlc] / src / extras / getopt1.c
index c10b9069a94d6532e911bd369cdae1ed861213f6..b846efce1b394bb4ad463e8093f55ea83a20de60 100644 (file)
@@ -51,8 +51,6 @@
 #endif
 #endif
 
-#ifndef ELIDE_CODE
-
 /* This needs to come after some library #include
    to get __GNU_LIBRARY__ defined.  */
 #ifdef __GNU_LIBRARY__
@@ -64,7 +62,7 @@
 #endif
 
 int
-    getopt_long(argc, argv, options, long_options, opt_index)
+    vlc_getopt_long(argc, argv, options, long_options, opt_index)
      int argc;
      char *const *argv;
      const char *options;
@@ -89,8 +87,6 @@ int
 {
     return _getopt_internal(argc, argv, options, long_options, opt_index, 1);
 }
-
-#endif /* Not ELIDE_CODE.  */
 \f
 #ifdef TEST