Module Name:    src
Committed By:   dholland
Date:           Sun Nov 15 18:17:18 UTC 2009

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

Log Message:
Declare trap name array as extern const char *[] to match how it's defined
in trap.c. (Should really be in a header, of course.) Compile-tested.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 src/sys/arch/hppa/hppa/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/hppa/hppa/db_interface.c
diff -u src/sys/arch/hppa/hppa/db_interface.c:1.18 src/sys/arch/hppa/hppa/db_interface.c:1.19
--- src/sys/arch/hppa/hppa/db_interface.c:1.18	Tue Nov  3 05:07:26 2009
+++ src/sys/arch/hppa/hppa/db_interface.c	Sun Nov 15 18:17:18 2009
@@ -1,4 +1,4 @@
-/*	$NetBSD: db_interface.c,v 1.18 2009/11/03 05:07:26 snj Exp $	*/
+/*	$NetBSD: db_interface.c,v 1.19 2009/11/15 18:17:18 dholland Exp $	*/
 
 /*	$OpenBSD: db_interface.c,v 1.16 2001/03/22 23:31:45 mickey Exp $	*/
 
@@ -29,7 +29,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.18 2009/11/03 05:07:26 snj Exp $");
+__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.19 2009/11/15 18:17:18 dholland Exp $");
 
 #include <sys/param.h>
 #include <sys/systm.h>
@@ -56,7 +56,7 @@
 
 extern label_t *db_recover;
 extern int db_active;
-extern char *trap_type[];
+extern const char *trap_type[];
 extern int trap_types;
 
 db_regs_t	ddb_regs;

Reply via email to