summaryrefslogtreecommitdiffstats
path: root/c/src/libnetworking/pppd/chap.c
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2003-05-16 08:57:09 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2003-05-16 08:57:09 +0000
commit03bd4aeb4f6c9f6f3f6e8f50869221e165628a10 (patch)
treed5406405ccb28f53306cea6119d55f9c2daefb35 /c/src/libnetworking/pppd/chap.c
parentMerger from rtems-4-6-branch. (diff)
downloadrtems-03bd4aeb4f6c9f6f3f6e8f50869221e165628a10.tar.bz2
2003-05-16 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
* pppd/magic.c: Remove *rand48. * pppd/chap.c: Remove prototypes of *rand48.
Diffstat (limited to 'c/src/libnetworking/pppd/chap.c')
-rw-r--r--c/src/libnetworking/pppd/chap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/c/src/libnetworking/pppd/chap.c b/c/src/libnetworking/pppd/chap.c
index 5609ec8bae..c1a17e5ab3 100644
--- a/c/src/libnetworking/pppd/chap.c
+++ b/c/src/libnetworking/pppd/chap.c
@@ -41,6 +41,7 @@
#include <stdio.h>
#include <string.h>
+#include <stdlib.h> /* drand48, srand48 */
#include <sys/types.h>
#include <sys/time.h>
@@ -115,9 +116,6 @@ static void ChapSendChallenge __P((chap_state *));
static void ChapSendResponse __P((chap_state *));
static void ChapGenChallenge __P((chap_state *));
-extern double drand48 __P((void));
-extern void srand48 __P((long));
-
/*
* ChapInit - Initialize a CHAP unit.
*/