summaryrefslogtreecommitdiffstats
path: root/sys/kern/subr_trap.c
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-08-18 22:36:09 +0000
committerwollman <wollman@FreeBSD.org>1994-08-18 22:36:09 +0000
commitf9fc827448679cf1d41e56512c34521bf06ce37a (patch)
tree6b83fdf6eb5926c2f3d175a83d24bf5a2611a012 /sys/kern/subr_trap.c
parent44fc281f480837836035856eb0af25443f0d2146 (diff)
downloadFreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.zip
FreeBSD-src-f9fc827448679cf1d41e56512c34521bf06ce37a.tar.gz
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.
Diffstat (limited to 'sys/kern/subr_trap.c')
-rw-r--r--sys/kern/subr_trap.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sys/kern/subr_trap.c b/sys/kern/subr_trap.c
index 21cdac6..58c0090 100644
--- a/sys/kern/subr_trap.c
+++ b/sys/kern/subr_trap.c
@@ -35,7 +35,7 @@
* SUCH DAMAGE.
*
* from: @(#)trap.c 7.4 (Berkeley) 5/13/91
- * $Id: trap.c,v 1.27 1994/08/01 11:25:28 davidg Exp $
+ * $Id: trap.c,v 1.28 1994/08/10 04:39:47 wollman Exp $
*/
/*
@@ -73,8 +73,6 @@
int trap_pfault __P((struct trapframe *, int));
void trap_fatal __P((struct trapframe *));
-extern int grow(struct proc *,u_int);
-
struct sysent sysent[];
int nsysent;
OpenPOWER on IntegriCloud