X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=src%2Fextras%2Fgetopt.h;h=b14fe617016c6ca993b07b031599ba1d2b2cd790;hb=b3a59c07e71c74191c2d1524dbd2f5412dd762db;hp=c05d74fbd0322df9f0c7c053196bf86ed7c730bc;hpb=880c1d98801b4edd0330145ab2a98d3edf575c59;p=vlc diff --git a/src/extras/getopt.h b/src/extras/getopt.h index c05d74fbd0..b14fe61701 100644 --- a/src/extras/getopt.h +++ b/src/extras/getopt.h @@ -108,7 +108,7 @@ extern "C" #else /* not __GNU_LIBRARY__ */ extern int getopt(); #endif /* __GNU_LIBRARY__ */ - extern int getopt_long(int argc, char *const *argv, const char *shortopts, + extern int vlc_getopt_long(int argc, char *const *argv, const char *shortopts, const struct option *longopts, int *longind); extern int getopt_long_only(int argc, char *const *argv, const char *shortopts, @@ -121,7 +121,7 @@ extern "C" int long_only); #else /* not __STDC__ */ extern int getopt(); - extern int getopt_long(); + extern int vlc_getopt_long(); extern int getopt_long_only(); extern int _getopt_internal();