diff options
author | obrien <obrien@FreeBSD.org> | 2000-04-24 17:30:08 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2000-04-24 17:30:08 +0000 |
commit | a8c8e00c91ee3b7567d3dd2ad6c6394f041928cb (patch) | |
tree | 7ec8e4f2ec6e1369ecd37b47e7b485d868935e25 /sys/i4b | |
parent | f85fa734fac6ee4d477cc35cbd5f6792ee363275 (diff) | |
download | FreeBSD-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/i4b')
-rw-r--r-- | sys/i4b/layer2/i4b_tei.c | 5 | ||||
-rw-r--r-- | sys/i4b/layer4/i4b_l4mgmt.c | 5 |
2 files changed, 2 insertions, 8 deletions
diff --git a/sys/i4b/layer2/i4b_tei.c b/sys/i4b/layer2/i4b_tei.c index fd813c8..98f9b00 100644 --- a/sys/i4b/layer2/i4b_tei.c +++ b/sys/i4b/layer2/i4b_tei.c @@ -46,6 +46,7 @@ #if defined(__FreeBSD__) #include <sys/ioccom.h> +#include <sys/random.h> #else #include <sys/ioctl.h> #endif @@ -65,10 +66,6 @@ #include <i4b/i4b_ioctl.h> #endif -#if defined(__FreeBSD__) -#include <machine/random.h> -#endif - #include <i4b/include/i4b_global.h> #include <i4b/include/i4b_l1l2.h> #include <i4b/include/i4b_l2l3.h> diff --git a/sys/i4b/layer4/i4b_l4mgmt.c b/sys/i4b/layer4/i4b_l4mgmt.c index 064a1f0..cde2451 100644 --- a/sys/i4b/layer4/i4b_l4mgmt.c +++ b/sys/i4b/layer4/i4b_l4mgmt.c @@ -43,6 +43,7 @@ #if defined(__FreeBSD__) #include <sys/ioccom.h> +#include <sys/random.h> #else #include <sys/ioctl.h> #endif @@ -54,10 +55,6 @@ #include <net/if.h> #ifdef __FreeBSD__ -#include <machine/random.h> -#endif - -#ifdef __FreeBSD__ #include <machine/i4b_debug.h> #include <machine/i4b_ioctl.h> #else |