Module Name: src Committed By: dholland Date: Sun Nov 15 18:41:32 UTC 2009
Modified Files: src/sys/arch/amd64/amd64: db_interface.c Log Message: Declare trap name array as extern const char *const [] 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.20 -r1.21 src/sys/arch/amd64/amd64/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/amd64/amd64/db_interface.c diff -u src/sys/arch/amd64/amd64/db_interface.c:1.20 src/sys/arch/amd64/amd64/db_interface.c:1.21 --- src/sys/arch/amd64/amd64/db_interface.c:1.20 Thu Jan 29 13:52:20 2009 +++ src/sys/arch/amd64/amd64/db_interface.c Sun Nov 15 18:41:31 2009 @@ -1,4 +1,4 @@ -/* $NetBSD: db_interface.c,v 1.20 2009/01/29 13:52:20 joerg Exp $ */ +/* $NetBSD: db_interface.c,v 1.21 2009/11/15 18:41:31 dholland Exp $ */ /* * Mach Operating System @@ -33,7 +33,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.20 2009/01/29 13:52:20 joerg Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_interface.c,v 1.21 2009/11/15 18:41:31 dholland Exp $"); #include "opt_ddb.h" #include "opt_multiprocessor.h" @@ -63,7 +63,7 @@ #include <ddb/db_output.h> #include <ddb/ddbvar.h> -extern const char *trap_type[]; +extern const char *const trap_type[]; extern int trap_types; int db_active;