diff options
author | Garrett Wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
---|---|---|
committer | Garrett Wollman <wollman@FreeBSD.org> | 1994-08-18 22:36:09 +0000 |
commit | f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41 (patch) | |
tree | 6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/vm/vm_kern.h | |
parent | fa074287a4952da8528838c7812d02678e4c7205 (diff) | |
download | src-f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41.tar.gz src-f23b4c91c4fb94e1bb6aeb4e7747f4ccf7767b41.zip |
Fix up some sloppy coding practices:
- Delete redundant declarations.
- Add -Wredundant-declarations to Makefile.i386 so they don't come back.
- Delete sloppy COMMON-style declarations of uninitialized data in
header files.
- Add a few prototypes.
- Clean up warnings resulting from the above.
NB: ioconf.c will still generate a redundant-declaration warning, which
is unavoidable unless somebody volunteers to make `config' smarter.
Notes
Notes:
svn path=/head/; revision=2112
Diffstat (limited to 'sys/vm/vm_kern.h')
-rw-r--r-- | sys/vm/vm_kern.h | 22 |
1 files changed, 13 insertions, 9 deletions
diff --git a/sys/vm/vm_kern.h b/sys/vm/vm_kern.h index 5c82528bc7a0..087dd378bb64 100644 --- a/sys/vm/vm_kern.h +++ b/sys/vm/vm_kern.h @@ -61,16 +61,20 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id$ + * $Id: vm_kern.h,v 1.3 1994/08/02 07:55:23 davidg Exp $ */ +#ifndef _VM_VM_KERN_H_ +#define _VM_VM_KERN_H_ 1 + /* Kernel memory management definitions. */ +extern vm_map_t buffer_map; +extern vm_map_t kernel_map; +extern vm_map_t kmem_map; +extern vm_map_t mb_map; +extern vm_map_t io_map; +extern vm_map_t clean_map; +extern vm_map_t pager_map; +extern vm_map_t phys_map; -vm_map_t buffer_map; -vm_map_t kernel_map; -vm_map_t kmem_map; -vm_map_t mb_map; -vm_map_t io_map; -vm_map_t clean_map; -vm_map_t pager_map; -vm_map_t phys_map; +#endif /* _VM_VM_KERN_H_ */ |