diff options
author | phk <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 1997-10-12 20:26:33 +0000 |
commit | 36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5 (patch) | |
tree | e21c1d8330cbd5fba838afec549f8e4f0f66e451 /sys/dev | |
parent | 8ae70d2227594ff4a283453ca3cc3031eb78c14b (diff) | |
download | FreeBSD-src-36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5.zip FreeBSD-src-36e7a51ea1dedf0fc860ff3106aee1db1ab3b1f5.tar.gz |
Last major round (Unless Bruce thinks of somthing :-) of malloc changes.
Distribute all but the most fundamental malloc types. This time I also
remembered the trick to making things static: Put "static" in front of
them.
A couple of finer points by: bde
Diffstat (limited to 'sys/dev')
-rw-r--r-- | sys/dev/rp/rp.c | 2 | ||||
-rw-r--r-- | sys/dev/sio/sio.c | 4 | ||||
-rw-r--r-- | sys/dev/snp/snp.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/sys/dev/rp/rp.c b/sys/dev/rp/rp.c index 0403e89..580e4cc 100644 --- a/sys/dev/rp/rp.c +++ b/sys/dev/rp/rp.c @@ -37,11 +37,11 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/fcntl.h> +#include <sys/malloc.h> #include <sys/tty.h> #include <sys/proc.h> #include <sys/conf.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <i386/isa/isa_device.h> diff --git a/sys/dev/sio/sio.c b/sys/dev/sio/sio.c index 21beb8c..39c6470 100644 --- a/sys/dev/sio/sio.c +++ b/sys/dev/sio/sio.c @@ -31,7 +31,7 @@ * SUCH DAMAGE. * * from: @(#)com.c 7.5 (Berkeley) 5/16/91 - * $Id: sio.c,v 1.182 1997/09/19 15:25:49 jmg Exp $ + * $Id: sio.c,v 1.183 1997/09/21 21:41:40 gibbs Exp $ */ #include "opt_comconsole.h" @@ -62,13 +62,13 @@ #include <sys/param.h> #include <sys/systm.h> #include <sys/reboot.h> +#include <sys/malloc.h> #include <sys/tty.h> #include <sys/proc.h> #include <sys/conf.h> #include <sys/dkstat.h> #include <sys/fcntl.h> #include <sys/kernel.h> -#include <sys/malloc.h> #include <sys/syslog.h> #include <sys/sysctl.h> #ifdef DEVFS diff --git a/sys/dev/snp/snp.c b/sys/dev/snp/snp.c index 42f23f3..98ac903 100644 --- a/sys/dev/snp/snp.c +++ b/sys/dev/snp/snp.c @@ -22,13 +22,13 @@ #include <sys/filio.h> #include <sys/ioctl_compat.h> /* Oooh..We need O/NTTYDISC */ #include <sys/proc.h> +#include <sys/malloc.h> #include <sys/tty.h> #include <sys/fcntl.h> #include <sys/conf.h> #include <sys/poll.h> #include <sys/uio.h> #include <sys/kernel.h> -#include <sys/malloc.h> #ifdef DEVFS #include <sys/devfsext.h> #endif /*DEVFS*/ |