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_pageout.h | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'sys/vm/vm_pageout.h') diff --git a/sys/vm/vm_pageout.h b/sys/vm/vm_pageout.h index 5412ddb..66f0bbe 100644 --- a/sys/vm/vm_pageout.h +++ b/sys/vm/vm_pageout.h @@ -61,7 +61,7 @@ * any improvements or extensions that they make and grant Carnegie the * rights to redistribute these changes. * - * $Id$ + * $Id: vm_pageout.h,v 1.3 1994/08/02 07:55:34 davidg Exp $ */ /* @@ -91,7 +91,6 @@ extern int vm_pageout_pages_needed; #define VM_WAIT vm_wait() inline static void vm_wait() { - extern struct proc *curproc, *pageproc; int s; s = splhigh(); if (curproc == pageproc) { @@ -107,7 +106,6 @@ inline static void vm_wait() { #ifdef KERNEL -void vm_pageout __P((void)); int vm_pageout_scan __P((void)); void vm_pageout_page __P((vm_page_t, vm_object_t)); void vm_pageout_cluster __P((vm_page_t, vm_object_t)); -- cgit v1.1