Module Name: src Committed By: drochner Date: Mon Sep 13 08:42:04 UTC 2010
Modified Files: src/sys/ddb: db_command.c Log Message: fix extern/static inconsistency To generate a diff of this commit: cvs rdiff -u -r1.133 -r1.134 src/sys/ddb/db_command.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/ddb/db_command.c diff -u src/sys/ddb/db_command.c:1.133 src/sys/ddb/db_command.c:1.134 --- src/sys/ddb/db_command.c:1.133 Sun Jul 19 02:37:33 2009 +++ src/sys/ddb/db_command.c Mon Sep 13 08:42:04 2010 @@ -1,4 +1,4 @@ -/* $NetBSD: db_command.c,v 1.133 2009/07/19 02:37:33 rmind Exp $ */ +/* $NetBSD: db_command.c,v 1.134 2010/09/13 08:42:04 drochner Exp $ */ /* * Copyright (c) 1996, 1997, 1998, 1999, 2002, 2009 The NetBSD Foundation, Inc. @@ -60,7 +60,7 @@ */ #include <sys/cdefs.h> -__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.133 2009/07/19 02:37:33 rmind Exp $"); +__KERNEL_RCSID(0, "$NetBSD: db_command.c,v 1.134 2010/09/13 08:42:04 drochner Exp $"); #ifdef _KERNEL_OPT #include "opt_aio.h" @@ -133,7 +133,8 @@ static const struct db_command db_show_cmds[]; #ifdef DB_MACHINE_COMMANDS -static const struct db_command db_machine_command_table[]; +/* arch/<arch>/<arch>/db_interface.c */ +extern const struct db_command db_machine_command_table[]; #endif /* the global queue of all command tables */ @@ -291,11 +292,6 @@ { DDB_ADD_CMD(NULL, NULL, 0,NULL,NULL,NULL) } }; -/* arch/<arch>/<arch>/db_interface.c */ -#ifdef DB_MACHINE_COMMANDS -extern const struct db_command db_machine_command_table[]; -#endif - static const struct db_command db_command_table[] = { { DDB_ADD_CMD("b", db_breakpoint_cmd, 0, "Set a breakpoint at address", "[/u] address[,count].",NULL) },