From f9fc827448679cf1d41e56512c34521bf06ce37a Mon Sep 17 00:00:00 2001 From: wollman Date: Thu, 18 Aug 1994 22:36:09 +0000 Subject: 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. --- sys/vm/vm_object.c | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'sys/vm/vm_object.c') diff --git a/sys/vm/vm_object.c b/sys/vm/vm_object.c index 57b66ec..3bdb0a2 100644 --- a/sys/vm/vm_object.c +++ b/sys/vm/vm_object.c @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id: vm_object.c,v 1.3 1994/08/02 07:55:29 davidg Exp $ + * $Id: vm_object.c,v 1.4 1994/08/07 13:10:40 davidg Exp $ */ /* @@ -70,6 +70,8 @@ #include #include +#include +#include /* for curproc, pageproc */ #include #include @@ -77,9 +79,6 @@ #include static void _vm_object_allocate(vm_size_t, vm_object_t); -void vm_object_deactivate_pages(vm_object_t); -void vm_object_cache_trim(void); -void vm_object_remove(vm_pager_t); /* * Virtual memory objects maintain the actual data -- cgit v1.1