summaryrefslogtreecommitdiffstats
path: root/usr.sbin/mopd
diff options
context:
space:
mode:
authormillert <millert@openbsd.org>2005-12-21 01:40:22 +0000
committermillert <millert@openbsd.org>2005-12-21 01:40:22 +0000
commitae5feee3506f1aa5259009ab0dd200f8b10a80e8 (patch)
tree971a43b49d285f8c2fb3bf3dfddffcf524907723 /usr.sbin/mopd
parentmake alloc_stack take an optional base, preparation for stack attributes (diff)
downloadwireguard-openbsd-ae5feee3506f1aa5259009ab0dd200f8b10a80e8.tar.xz
wireguard-openbsd-ae5feee3506f1aa5259009ab0dd200f8b10a80e8.zip
Userland programs should include <errno.h> not <sys/errno.h>
OK deraadt@
Diffstat (limited to 'usr.sbin/mopd')
-rw-r--r--usr.sbin/mopd/common/loop-bsd.c6
-rw-r--r--usr.sbin/mopd/common/pf.c6
-rw-r--r--usr.sbin/mopd/otherOS/loop-linux2.c4
3 files changed, 8 insertions, 8 deletions
diff --git a/usr.sbin/mopd/common/loop-bsd.c b/usr.sbin/mopd/common/loop-bsd.c
index 51569ebfd70..ce9a20f5438 100644
--- a/usr.sbin/mopd/common/loop-bsd.c
+++ b/usr.sbin/mopd/common/loop-bsd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: loop-bsd.c,v 1.9 2004/04/14 20:37:28 henning Exp $ */
+/* $OpenBSD: loop-bsd.c,v 1.10 2005/12/21 01:40:24 millert Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@@ -26,9 +26,10 @@
#ifndef LINT
static const char rcsid[] =
- "$OpenBSD: loop-bsd.c,v 1.9 2004/04/14 20:37:28 henning Exp $";
+ "$OpenBSD: loop-bsd.c,v 1.10 2005/12/21 01:40:24 millert Exp $";
#endif
+#include <errno.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
@@ -37,7 +38,6 @@ static const char rcsid[] =
#endif
#include <net/bpf.h>
#include <sys/ioctl.h>
-#include <sys/errno.h>
#include "os.h"
#include "common/common.h"
diff --git a/usr.sbin/mopd/common/pf.c b/usr.sbin/mopd/common/pf.c
index 7a05d3a987d..bd39c2436fc 100644
--- a/usr.sbin/mopd/common/pf.c
+++ b/usr.sbin/mopd/common/pf.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pf.c,v 1.11 2004/05/08 20:23:21 canacar Exp $ */
+/* $OpenBSD: pf.c,v 1.12 2005/12/21 01:40:24 millert Exp $ */
/*
* Copyright (c) 1993-95 Mats O Jansson. All rights reserved.
@@ -30,7 +30,7 @@
#ifndef LINT
static const char rcsid[] =
- "$OpenBSD: pf.c,v 1.11 2004/05/08 20:23:21 canacar Exp $";
+ "$OpenBSD: pf.c,v 1.12 2005/12/21 01:40:24 millert Exp $";
#endif
#include <stdio.h>
@@ -44,7 +44,6 @@ static const char rcsid[] =
#include <net/if.h>
#include <net/bpf.h>
-#include <sys/errno.h>
#include <netinet/in.h>
#include <netinet/if_ether.h>
@@ -53,6 +52,7 @@ static const char rcsid[] =
#include <ctype.h>
#include <string.h>
#include <err.h>
+#include <errno.h>
#include <syslog.h>
diff --git a/usr.sbin/mopd/otherOS/loop-linux2.c b/usr.sbin/mopd/otherOS/loop-linux2.c
index f25c4d59c7a..c7128f380f2 100644
--- a/usr.sbin/mopd/otherOS/loop-linux2.c
+++ b/usr.sbin/mopd/otherOS/loop-linux2.c
@@ -23,9 +23,10 @@
*/
#ifndef LINT
-static const char rcsid[] = "$Id: loop-linux2.c,v 1.4 2003/12/01 00:56:51 avsm Exp $";
+static const char rcsid[] = "$Id: loop-linux2.c,v 1.5 2005/12/21 01:40:24 millert Exp $";
#endif
+#include <errno.h>
#include <stdlib.h>
#include <strings.h>
#include <unistd.h>
@@ -33,7 +34,6 @@ static const char rcsid[] = "$Id: loop-linux2.c,v 1.4 2003/12/01 00:56:51 avsm E
#include <sys/time.h>
#endif
#include <sys/ioctl.h>
-#include <sys/errno.h>
#include "os.h"
#include "common/common.h"