summaryrefslogtreecommitdiff
path: root/usr.sbin/pppoe/client.c
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2002-02-16 21:28:12 +0000
commit6d57a1a176004a7d8fc009cdcf760098f86e3263 (patch)
treeee423c619fad03813234b9362694a17f3a638f0b /usr.sbin/pppoe/client.c
parentc707cb295fc3cac8d8feb343e949e0dcf71b8476 (diff)
Part one of userland __P removal. Done with a simple regexp with some minor hand editing to make comments line up correctly. Another pass is forthcoming that handles the cases that could not be done automatically.
Diffstat (limited to 'usr.sbin/pppoe/client.c')
-rw-r--r--usr.sbin/pppoe/client.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/usr.sbin/pppoe/client.c b/usr.sbin/pppoe/client.c
index 30167f802f1..0d022c82eac 100644
--- a/usr.sbin/pppoe/client.c
+++ b/usr.sbin/pppoe/client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: client.c,v 1.12 2001/11/17 19:54:57 deraadt Exp $ */
+/* $OpenBSD: client.c,v 1.13 2002/02/16 21:28:07 millert Exp $ */
/*
* Copyright (c) 2000 Network Security Technologies, Inc. http://www.netsec.net
@@ -68,7 +68,7 @@ int pppfd, client_state;
static int getpackets __P((int, char *, char *, struct ether_addr *,
struct ether_addr *));
-static int send_padi __P((int, struct ether_addr *, u_int8_t *));
+static int send_padi(int, struct ether_addr *, u_int8_t *);
static int send_padr __P((int, char *, struct ether_addr *,
struct ether_addr *, struct ether_header *, struct pppoe_header *,
struct tag_list *));
@@ -81,10 +81,10 @@ static int recv_pads __P((int, char *, char *, struct ether_addr *,
static int recv_padt __P((int, struct ether_addr *, struct ether_addr *,
struct ether_header *, struct pppoe_header *, u_long, u_int8_t *));
-void timer_handler __P((int));
-int timer_set __P((u_int));
-int timer_clr __P((void));
-int timer_hit __P((void));
+void timer_handler(int);
+int timer_set(u_int);
+int timer_clr(void);
+int timer_hit(void);
int
client_mode(bfd, sysname, srvname, myea)