Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/arch/i386/i386 Make extern decl of trap_type[] match the...
details: https://anonhg.NetBSD.org/src/rev/49e12c6f41ad
branches: trunk
changeset: 781168:49e12c6f41ad
user: dholland <dholland%NetBSD.org@localhost>
date: Fri Aug 24 05:54:30 2012 +0000
description:
Make extern decl of trap_type[] match the definition.
(XXX: this should be in a header file)
diffstat:
sys/arch/i386/i386/db_interface.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diffs (27 lines):
diff -r f2e65ac8948e -r 49e12c6f41ad sys/arch/i386/i386/db_interface.c
--- a/sys/arch/i386/i386/db_interface.c Fri Aug 24 05:52:17 2012 +0000
+++ b/sys/arch/i386/i386/db_interface.c Fri Aug 24 05:54:30 2012 +0000
@@ -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 @@
#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;
Home |
Main Index |
Thread Index |
Old Index