opnsense-ports/ftp/wzdftpd/files/patch-wzdftpd_wzd__opts.h
Franco Fichtner f7bcd85e11 */*: sync with upstream
Taken from: FreeBSD
2023-02-14 22:03:33 +01:00

14 lines
558 B
C

--- wzdftpd/wzd_opts.h.orig 2023-02-11 11:32:00 UTC
+++ wzdftpd/wzd_opts.h
@@ -24,11 +24,7 @@ struct option
#define optional_argument 2
#if __STDC__
-#if defined(__GNU_LIBRARY__)
extern int getopt (int argc, char *const *argv, const char *shortopts);
-#else /* not __GNU_LIBRARY__ */
-extern int getopt ();
-#endif /* not __GNU_LIBRARY__ */
extern int 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,