summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/chap.c
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>1996-01-10 21:28:04 +0000
committerphk <phk@FreeBSD.org>1996-01-10 21:28:04 +0000
commit525e36ce3e9516d50c97f25c011550e6cfec1edc (patch)
treeefa94c4341ade4773e54c6aeb6ee691faaf4f071 /usr.sbin/ppp/chap.c
parentb0a5a520276679c2b26968f7d92736114c95cc30 (diff)
downloadFreeBSD-src-525e36ce3e9516d50c97f25c011550e6cfec1edc.zip
FreeBSD-src-525e36ce3e9516d50c97f25c011550e6cfec1edc.tar.gz
A random bunch of cleanup changes.
Diffstat (limited to 'usr.sbin/ppp/chap.c')
-rw-r--r--usr.sbin/ppp/chap.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/usr.sbin/ppp/chap.c b/usr.sbin/ppp/chap.c
index adc43af..42d9846 100644
--- a/usr.sbin/ppp/chap.c
+++ b/usr.sbin/ppp/chap.c
@@ -17,10 +17,12 @@
* IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
* WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
*
- * $Id: chap.c,v 1.2 1995/02/26 12:17:17 amurai Exp $
+ * $Id: chap.c,v 1.3 1995/05/30 03:50:28 rgrimes Exp $
*
* TODO:
*/
+#include <sys/types.h>
+#include <time.h>
#include "fsm.h"
#include "chap.h"
#include "lcpproto.h"
@@ -73,7 +75,7 @@ void
SendChapChallenge(chapid)
int chapid;
{
- int keylen, len, i;
+ int len, i;
char *cp;
srandom(time(NULL));
OpenPOWER on IntegriCloud