summaryrefslogtreecommitdiffstats
path: root/sys/net
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2000-04-24 17:30:08 +0000
committerobrien <obrien@FreeBSD.org>2000-04-24 17:30:08 +0000
commita8c8e00c91ee3b7567d3dd2ad6c6394f041928cb (patch)
tree7ec8e4f2ec6e1369ecd37b47e7b485d868935e25 /sys/net
parentf85fa734fac6ee4d477cc35cbd5f6792ee363275 (diff)
downloadFreeBSD-src-a8c8e00c91ee3b7567d3dd2ad6c6394f041928cb.zip
FreeBSD-src-a8c8e00c91ee3b7567d3dd2ad6c6394f041928cb.tar.gz
* Use sys/sys/random.h rather than a i386 specific one.
* There was nothing that should be machine dependant about i386/isa/random_machdep.c, so it is now sys/kern/kern_random.c.
Diffstat (limited to 'sys/net')
-rw-r--r--sys/net/if_spppsubr.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/net/if_spppsubr.c b/sys/net/if_spppsubr.c
index 36ede2b..eec4fc1 100644
--- a/sys/net/if_spppsubr.c
+++ b/sys/net/if_spppsubr.c
@@ -42,7 +42,7 @@
#include <sys/socket.h>
#include <sys/syslog.h>
#if defined(__FreeBSD__) && __FreeBSD__ >= 3
-#include <machine/random.h>
+#include <sys/random.h>
#endif
#include <sys/malloc.h>
#include <sys/mbuf.h>
@@ -58,9 +58,6 @@
#include <net/if_types.h>
#include <net/route.h>
-#if defined(__FreeBSD__) && __FreeBSD__ >= 3
-#include <machine/random.h>
-#endif
#if defined (__NetBSD__) || defined (__OpenBSD__)
#include <machine/cpu.h> /* XXX for softnet */
#endif
OpenPOWER on IntegriCloud