summaryrefslogtreecommitdiff
path: root/usr.sbin/pppoe
diff options
context:
space:
mode:
authorJason Wright <jason@cvs.openbsd.org>2002-09-08 05:10:57 +0000
committerJason Wright <jason@cvs.openbsd.org>2002-09-08 05:10:57 +0000
commitc6bde09c1a8dbd9a971e4a39b643c48adfc52d20 (patch)
tree70f564c010ef384202072d687ad70bfdf3e90fa2 /usr.sbin/pppoe
parent644c1e6569db30d6ed643782c4304ddb96ea5874 (diff)
more cleaning
Diffstat (limited to 'usr.sbin/pppoe')
-rw-r--r--usr.sbin/pppoe/Makefile4
-rw-r--r--usr.sbin/pppoe/client.c3
-rw-r--r--usr.sbin/pppoe/common.c5
3 files changed, 4 insertions, 8 deletions
diff --git a/usr.sbin/pppoe/Makefile b/usr.sbin/pppoe/Makefile
index 7578f9c5130..a4faf294de9 100644
--- a/usr.sbin/pppoe/Makefile
+++ b/usr.sbin/pppoe/Makefile
@@ -1,8 +1,8 @@
-# $OpenBSD: Makefile,v 1.2 2000/06/18 07:47:32 jason Exp $
+# $OpenBSD: Makefile,v 1.3 2002/09/08 05:10:56 jason Exp $
PROG= pppoe
MAN= pppoe.8
SRCS= client.c common.c debug.c pppoe.c server.c session.c tag.c
-CFLAGS+= -Werror -Wall -Wstrict-prototypes -Wmissing-prototypes
+CFLAGS+= -Wall -Wstrict-prototypes -Wmissing-prototypes
.include <bsd.prog.mk>
diff --git a/usr.sbin/pppoe/client.c b/usr.sbin/pppoe/client.c
index ed93c5da8c6..925faa33954 100644
--- a/usr.sbin/pppoe/client.c
+++ b/usr.sbin/pppoe/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.15 2002/09/08 04:33:46 jason Exp $ */
+/* $OpenBSD: client.c,v 1.16 2002/09/08 05:10:56 jason Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -53,7 +53,6 @@
#include <unistd.h>
#include <sysexits.h>
#include <stdlib.h>
-#include <syslog.h>
#include <signal.h>
#include "pppoe.h"
diff --git a/usr.sbin/pppoe/common.c b/usr.sbin/pppoe/common.c
index 14291ea7f4c..3c15ed04916 100644
--- a/usr.sbin/pppoe/common.c
+++ b/usr.sbin/pppoe/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.8 2002/09/08 04:33:46 jason Exp $ */
+/* $OpenBSD: common.c,v 1.9 2002/09/08 05:10:56 jason Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -53,8 +53,6 @@
#include <unistd.h>
#include <sysexits.h>
#include <stdlib.h>
-#include <grp.h>
-#include <syslog.h>
#include <md5.h>
#include "pppoe.h"
@@ -118,7 +116,6 @@ runppp(bpffd, sysname)
execlp(PPP_PROG, "ppp", "-direct", sysname, (char *)NULL);
perror("execlp");
- syslog(LOG_INFO, "%s exec failed: %m", PPP_PROG);
_exit(1);
/*NOTREACHED*/
return (-1);