summaryrefslogtreecommitdiffstats
path: root/sys/ddb/db_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/ddb/db_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/ddb/db_trap.c')
-rw-r--r--sys/ddb/db_trap.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/sys/ddb/db_trap.c b/sys/ddb/db_trap.c
index 05b0487..8d2941a 100644
--- a/sys/ddb/db_trap.c
+++ b/sys/ddb/db_trap.c
@@ -23,7 +23,7 @@
* any improvements or extensions that they make and grant Carnegie the
* rights to redistribute these changes.
*
- * $Id: db_trap.c,v 1.3 1993/11/25 01:30:12 wollman Exp $
+ * $Id: db_trap.c,v 1.4 1994/08/13 03:49:24 wollman Exp $
*/
/*
@@ -41,12 +41,6 @@
#include <ddb/db_command.h>
#include <ddb/db_break.h>
-extern void db_restart_at_pc();
-extern boolean_t db_stop_at_pc();
-
-extern int db_inst_count;
-extern int db_load_count;
-extern int db_store_count;
void
db_trap(type, code)
OpenPOWER on IntegriCloud