X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Fmisc%2Fgetopt_long.c;h=6949ab1c7eec09753b49946da4ceeef6b89e3adc;hb=5a105f19b5aae79dd302899e634b6b18b3dcd0d6;hp=ddcef9499fe4076d7a9e1b02ff633ac6bcd9eaec;hpb=9be4ed5d89ecca80123311a4ec73781e5cc97a9c;p=musl diff --git a/src/misc/getopt_long.c b/src/misc/getopt_long.c index ddcef949..6949ab1c 100644 --- a/src/misc/getopt_long.c +++ b/src/misc/getopt_long.c @@ -5,6 +5,7 @@ #include #include #include +#include "stdio_impl.h" extern int __optpos, __optreset; @@ -18,8 +19,6 @@ static void permute(char *const *argv, int dest, int src) av[dest] = tmp; } -void __getopt_msg(const char *, const char *, const char *, size_t); - static int __getopt_long_core(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly); static int __getopt_long(int argc, char *const *argv, const char *optstring, const struct option *longopts, int *idx, int longonly)