summaryrefslogtreecommitdiffstats
path: root/cpukit/pppd/magic.c
diff options
context:
space:
mode:
Diffstat (limited to 'cpukit/pppd/magic.c')
-rw-r--r--cpukit/pppd/magic.c27
1 files changed, 0 insertions, 27 deletions
diff --git a/cpukit/pppd/magic.c b/cpukit/pppd/magic.c
index c571ef792e..3013e08f07 100644
--- a/cpukit/pppd/magic.c
+++ b/cpukit/pppd/magic.c
@@ -30,9 +30,6 @@
static const char rcsid[] = RCSID;
-extern long mrand48 __P((void));
-extern void srand48 __P((long));
-
/*
* magic_init - Initialize the magic number generator.
*
@@ -59,27 +56,3 @@ magic()
{
return (u_int32_t) mrand48();
}
-
-/*
- * Substitute procedures for those systems which don't have
- * drand48 et al.
- */
-
-double
-drand48()
-{
- return (double)rand() / (double)0x7fffffffL; /* 2**31-1 */
-}
-
-long
-mrand48()
-{
- return rand();
-}
-
-void
-srand48(seedval)
-long seedval;
-{
- srand((int)seedval);
-}