summaryrefslogtreecommitdiff
path: root/regress/modpipe.c
diff options
context:
space:
mode:
authorTim Rice <tim@multitalents.net>2013-02-19 19:01:51 -0800
committerTim Rice <tim@multitalents.net>2013-02-19 19:01:51 -0800
commitc31db8cd6e301c8d4024cb9250e3178d13d1be44 (patch)
tree2199bc2ede9202280b28363168e6cb016fbdaa59 /regress/modpipe.c
parentc08b3ef6f435b64c3b7125f93e5b3e661e019f3e (diff)
- (tim) [krl.c Makefile.in regress/Makefile regress/modpipe.c] remove unneeded
err.h include from krl.c. Additional portability fixes for modpipe. OK djm
Diffstat (limited to 'regress/modpipe.c')
-rwxr-xr-xregress/modpipe.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/regress/modpipe.c b/regress/modpipe.c
index b05915b63..1d4229885 100755
--- a/regress/modpipe.c
+++ b/regress/modpipe.c
@@ -14,7 +14,7 @@
14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 14 * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
15 */ 15 */
16 16
17/* $Id: modpipe.c,v 1.2 2013/02/19 02:15:08 djm Exp $ */ 17/* $Id: modpipe.c,v 1.3 2013/02/20 03:01:52 tim Exp $ */
18 18
19#include <sys/types.h> 19#include <sys/types.h>
20#include <unistd.h> 20#include <unistd.h>
@@ -23,6 +23,7 @@
23#include <stdarg.h> 23#include <stdarg.h>
24#include <stdlib.h> 24#include <stdlib.h>
25#include <errno.h> 25#include <errno.h>
26#include "openbsd-compat/getopt.c"
26 27
27static void err(int, const char *, ...) __attribute__((format(printf, 2, 3))); 28static void err(int, const char *, ...) __attribute__((format(printf, 2, 3)));
28static void errx(int, const char *, ...) __attribute__((format(printf, 2, 3))); 29static void errx(int, const char *, ...) __attribute__((format(printf, 2, 3)));