diff options
author | jkh <jkh@FreeBSD.org> | 1996-10-07 04:21:09 +0000 |
---|---|---|
committer | jkh <jkh@FreeBSD.org> | 1996-10-07 04:21:09 +0000 |
commit | e80eb7c64875936656241e55c93e705df082c3f7 (patch) | |
tree | 954bba82f3795117818be456195650d1a14d55d6 /usr.sbin | |
parent | 3c16d249ef5b3d4ac01b51138230463e2a385185 (diff) | |
download | FreeBSD-src-e80eb7c64875936656241e55c93e705df082c3f7.zip FreeBSD-src-e80eb7c64875936656241e55c93e705df082c3f7.tar.gz |
Properly include prototypes.
Submitted-by: "Daniel O'Callaghan" <danny@panda.hilink.com.au>
Diffstat (limited to 'usr.sbin')
-rw-r--r-- | usr.sbin/ppp/main.c | 3 | ||||
-rw-r--r-- | usr.sbin/ppp/pap.c | 6 |
2 files changed, 7 insertions, 2 deletions
diff --git a/usr.sbin/ppp/main.c b/usr.sbin/ppp/main.c index 8ae6c9f..772be6c 100644 --- a/usr.sbin/ppp/main.c +++ b/usr.sbin/ppp/main.c @@ -17,7 +17,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: main.c,v 1.19 1996/05/11 20:48:34 phk Exp $ + * $Id: main.c,v 1.20 1996/07/09 17:40:36 ache Exp $ * * TODO: * o Add commands for traffic summary, version display, etc. @@ -32,6 +32,7 @@ #include <sys/wait.h> #include <errno.h> #include <netdb.h> +#include <unistd.h> #include <sys/socket.h> #include <arpa/inet.h> #include "modem.h" diff --git a/usr.sbin/ppp/pap.c b/usr.sbin/ppp/pap.c index 0004d63..b6871dc 100644 --- a/usr.sbin/ppp/pap.c +++ b/usr.sbin/ppp/pap.c @@ -18,7 +18,7 @@ * IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED * WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE. * - * $Id: pap.c,v 1.5 1996/05/11 20:48:38 phk Exp $ + * $Id: pap.c,v 1.6 1996/10/06 13:32:30 jkh Exp $ * * TODO: */ @@ -31,6 +31,10 @@ #include "phase.h" #include "auth.h" +#ifdef PASSWDAUTH +# include "passwdauth.h" +#endif + static char *papcodes[] = { "???", "REQUEST", "ACK", "NAK" }; |