summaryrefslogtreecommitdiff
path: root/usr.sbin/pppoe
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-28 20:37:31 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2003-06-28 20:37:31 +0000
commit59797ef4bf58be452cfad7fbf3cbb4651edb877a (patch)
treef7ad52cefe893be13470f0c745f9b0ea7f23acb0 /usr.sbin/pppoe
parentc5a580d519116cc71d9d91ab94b71b9ec470098e (diff)
() to (void)
Diffstat (limited to 'usr.sbin/pppoe')
-rw-r--r--usr.sbin/pppoe/common.c4
-rw-r--r--usr.sbin/pppoe/pppoe.c6
-rw-r--r--usr.sbin/pppoe/server.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/usr.sbin/pppoe/common.c b/usr.sbin/pppoe/common.c
index e008a140d1a..40287d7d62f 100644
--- a/usr.sbin/pppoe/common.c
+++ b/usr.sbin/pppoe/common.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: common.c,v 1.10 2003/06/04 04:46:13 jason Exp $ */
+/* $OpenBSD: common.c,v 1.11 2003/06/28 20:37:29 deraadt Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -258,7 +258,7 @@ send_padt(int bpffd, struct ether_addr *src_ea,
}
u_int32_t
-cookie_bake()
+cookie_bake(void)
{
MD5_CTX ctx;
unsigned char buf[40];
diff --git a/usr.sbin/pppoe/pppoe.c b/usr.sbin/pppoe/pppoe.c
index 126485e8438..07a53160ac5 100644
--- a/usr.sbin/pppoe/pppoe.c
+++ b/usr.sbin/pppoe/pppoe.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pppoe.c,v 1.9 2003/06/04 04:46:13 jason Exp $ */
+/* $OpenBSD: pppoe.c,v 1.10 2003/06/28 20:37:29 deraadt Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -372,7 +372,7 @@ getifhwaddr(ifnhint, ifnambuf, ea)
}
void
-usage()
+usage(void)
{
extern char *__progname;
@@ -393,7 +393,7 @@ child_handler(sig)
}
int
-signal_init()
+signal_init(void)
{
struct sigaction act;
diff --git a/usr.sbin/pppoe/server.c b/usr.sbin/pppoe/server.c
index 39afc484cae..a9be8cd02fc 100644
--- a/usr.sbin/pppoe/server.c
+++ b/usr.sbin/pppoe/server.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server.c,v 1.10 2003/06/04 04:46:13 jason Exp $ */
+/* $OpenBSD: server.c,v 1.11 2003/06/28 20:37:29 deraadt Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -145,7 +145,7 @@ server_mode(bpffd, sysname, srvname, ea)
}
void
-key_gen()
+key_gen(void)
{
u_int32_t r;