summaryrefslogtreecommitdiffstats
path: root/usr.sbin/npppd
diff options
context:
space:
mode:
authorguenther <guenther@openbsd.org>2019-05-10 01:29:31 +0000
committerguenther <guenther@openbsd.org>2019-05-10 01:29:31 +0000
commitcb21588b789e158a41a4783b1dcf238685d192fc (patch)
tree2cfb81ce8cc849619929da70b783d6d35392dab3 /usr.sbin/npppd
parenttweak verbosity; ok ccardenas@ (diff)
downloadwireguard-openbsd-cb21588b789e158a41a4783b1dcf238685d192fc.tar.xz
wireguard-openbsd-cb21588b789e158a41a4783b1dcf238685d192fc.zip
Delete superfluous #includes of <ifaddrs.h>, <net/if_dl.h>, and <net/if_enc.h>
ok krw@, jsg@
Diffstat (limited to 'usr.sbin/npppd')
-rw-r--r--usr.sbin/npppd/l2tp/l2tp_ctrl.c5
-rw-r--r--usr.sbin/npppd/npppd/npppd.c5
-rw-r--r--usr.sbin/npppd/npppd/npppd_subr.c3
-rw-r--r--usr.sbin/npppd/pptp/pptpd.c7
4 files changed, 8 insertions, 12 deletions
diff --git a/usr.sbin/npppd/l2tp/l2tp_ctrl.c b/usr.sbin/npppd/l2tp/l2tp_ctrl.c
index 7255d735872..710a0431d00 100644
--- a/usr.sbin/npppd/l2tp/l2tp_ctrl.c
+++ b/usr.sbin/npppd/l2tp/l2tp_ctrl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: l2tp_ctrl.c,v 1.22 2018/03/16 12:31:09 mpi Exp $ */
+/* $OpenBSD: l2tp_ctrl.c,v 1.23 2019/05/10 01:29:31 guenther Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -26,7 +26,7 @@
* SUCH DAMAGE.
*/
/**@file Control connection processing functions for L2TP LNS */
-/* $Id: l2tp_ctrl.c,v 1.22 2018/03/16 12:31:09 mpi Exp $ */
+/* $Id: l2tp_ctrl.c,v 1.23 2019/05/10 01:29:31 guenther Exp $ */
#include <sys/types.h>
#include <sys/time.h>
#include <sys/socket.h>
@@ -36,7 +36,6 @@
#include <endian.h>
#include <errno.h>
#include <event.h>
-#include <ifaddrs.h>
#include <netdb.h>
#include <stdarg.h>
#include <stddef.h>
diff --git a/usr.sbin/npppd/npppd/npppd.c b/usr.sbin/npppd/npppd/npppd.c
index b580af0028a..cb73939016e 100644
--- a/usr.sbin/npppd/npppd/npppd.c
+++ b/usr.sbin/npppd/npppd/npppd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: npppd.c,v 1.49 2018/12/30 23:09:58 guenther Exp $ */
+/* $OpenBSD: npppd.c,v 1.50 2019/05/10 01:29:31 guenther Exp $ */
/*-
* Copyright (c) 2005-2008,2009 Internet Initiative Japan Inc.
@@ -29,7 +29,7 @@
* Next pppd(nppd). This file provides a npppd daemon process and operations
* for npppd instance.
* @author Yasuoka Masahiko
- * $Id: npppd.c,v 1.49 2018/12/30 23:09:58 guenther Exp $
+ * $Id: npppd.c,v 1.50 2019/05/10 01:29:31 guenther Exp $
*/
#include "version.h"
#include <sys/param.h> /* ALIGNED_POINTER */
@@ -53,7 +53,6 @@
#include <fcntl.h>
#include <event.h>
#include <errno.h>
-#include <ifaddrs.h>
#include <err.h>
#include <pwd.h>
diff --git a/usr.sbin/npppd/npppd/npppd_subr.c b/usr.sbin/npppd/npppd/npppd_subr.c
index 213d3b50689..f9ed4c32212 100644
--- a/usr.sbin/npppd/npppd/npppd_subr.c
+++ b/usr.sbin/npppd/npppd/npppd_subr.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: npppd_subr.c,v 1.19 2019/01/22 09:25:29 krw Exp $ */
+/* $OpenBSD: npppd_subr.c,v 1.20 2019/05/10 01:29:31 guenther Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -38,7 +38,6 @@
#include <net/route.h>
#include <net/if_dl.h>
#include <net/if.h>
-#include <ifaddrs.h>
#include <arpa/inet.h>
#include <stdlib.h>
#include <fcntl.h>
diff --git a/usr.sbin/npppd/pptp/pptpd.c b/usr.sbin/npppd/pptp/pptpd.c
index abbdd568fde..c8767e56f45 100644
--- a/usr.sbin/npppd/pptp/pptpd.c
+++ b/usr.sbin/npppd/pptp/pptpd.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pptpd.c,v 1.31 2016/04/16 18:32:29 krw Exp $ */
+/* $OpenBSD: pptpd.c,v 1.32 2019/05/10 01:29:31 guenther Exp $ */
/*-
* Copyright (c) 2009 Internet Initiative Japan Inc.
@@ -25,12 +25,12 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*/
-/* $Id: pptpd.c,v 1.31 2016/04/16 18:32:29 krw Exp $ */
+/* $Id: pptpd.c,v 1.32 2019/05/10 01:29:31 guenther Exp $ */
/**@file
* This file provides a implementation of PPTP daemon. Currently it
* provides functions for PAC (PPTP Access Concentrator) only.
- * $Id: pptpd.c,v 1.31 2016/04/16 18:32:29 krw Exp $
+ * $Id: pptpd.c,v 1.32 2019/05/10 01:29:31 guenther Exp $
*/
#include <sys/types.h>
#include <sys/socket.h>
@@ -51,7 +51,6 @@
#include <errno.h>
#include <string.h>
#include <event.h>
-#include <ifaddrs.h>
#ifdef USE_LIBSOCKUTIL
#include <seil/sockfromto.h>