diff options
author | Darren Tucker <dtucker@zip.com.au> | 2013-05-10 16:28:55 +1000 |
---|---|---|
committer | Darren Tucker <dtucker@zip.com.au> | 2013-05-10 16:28:55 +1000 |
commit | ccfdfceacb7e23d1479ed4cc91976c5ac6e23c56 (patch) | |
tree | 5d25c5c77c2143c09413e8b3483f5133aebaa5b8 /regress | |
parent | 39332020078aa8fd4fc28e00b336438dc64b0f5a (diff) |
- (dtucker) [openbsd-compat/Makefile.in openbsd-compat/getopt.c
openbsd-compat/getopt_long.c regress/modpipe.c] Remove getopt.c, add
portability code to getopt_long.c and switch over Makefile and the ugly
hack in modpipe.c. Fixes bz#1448.
Diffstat (limited to 'regress')
-rwxr-xr-x | regress/modpipe.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/regress/modpipe.c b/regress/modpipe.c index 9629aa80b..3322d1a70 100755 --- a/regress/modpipe.c +++ b/regress/modpipe.c | |||
@@ -25,7 +25,7 @@ | |||
25 | #include <stdarg.h> | 25 | #include <stdarg.h> |
26 | #include <stdlib.h> | 26 | #include <stdlib.h> |
27 | #include <errno.h> | 27 | #include <errno.h> |
28 | #include "openbsd-compat/getopt.c" | 28 | #include "openbsd-compat/getopt_long.c" |
29 | 29 | ||
30 | static void err(int, const char *, ...) __attribute__((format(printf, 2, 3))); | 30 | static void err(int, const char *, ...) __attribute__((format(printf, 2, 3))); |
31 | static void errx(int, const char *, ...) __attribute__((format(printf, 2, 3))); | 31 | static void errx(int, const char *, ...) __attribute__((format(printf, 2, 3))); |