Module Name:    src
Committed By:   dholland
Date:           Fri Aug 24 05:54:30 UTC 2012

Modified Files:
        src/sys/arch/i386/i386: db_interface.c

Log Message:
Make extern decl of trap_type[] match the definition.
(XXX: this should be in a header file)


To generate a diff of this commit:
cvs rdiff -u -r1.67 -r1.68 src/sys/arch/i386/i386/db_interface.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/i386/i386/db_interface.c
diff -u src/sys/arch/i386/i386/db_interface.c:1.67 src/sys/arch/i386/i386/db_interface.c:1.68
--- src/sys/arch/i386/i386/db_interface.c:1.67	Thu Aug 11 19:52:52 2011
+++ src/sys/arch/i386/i386/db_interface.c	Fri Aug 24 05:54:30 2012
@@ -1,4 +1,4 @@
-/*	$NetBSD: db_interface.c,v 1.67 2011/08/11 19:52:52 cherry Exp $	*/
+/*	$NetBSD: db_interface.c,v 1.68 2012/08/24 05:54:30 dholland Exp $	*/
 
 /*
  * Mach Operating System
@@ -33,7 +33,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.67 2011/08/11 19:52:52 cherry Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.68 2012/08/24 05:54:30 dholland Exp $");
 
 #include "opt_ddb.h"
 #include "opt_multiprocessor.h"
@@ -64,7 +64,7 @@ __KERNEL_RCSID(0, "$NetBSD: db_interface
 #include <ddb/db_output.h>
 #include <ddb/ddbvar.h>
 
-extern char *trap_type[];
+extern const char *const trap_type[];
 extern int trap_types;
 
 int	db_active = 0;

Reply via email to