Module Name: src
Committed By: matt
Date: Thu Jan 19 08:20:32 UTC 2012
Modified Files:
src/sys/arch/evbmips/rmixl [matt-nb5-mips64]: machdep.c
Log Message:
Use extern for machdep_debug.
To generate a diff of this commit:
cvs rdiff -u -r1.1.2.44 -r1.1.2.45 src/sys/arch/evbmips/rmixl/machdep.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/evbmips/rmixl/machdep.c
diff -u src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.44 src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.45
--- src/sys/arch/evbmips/rmixl/machdep.c:1.1.2.44 Wed Jan 4 16:17:52 2012
+++ src/sys/arch/evbmips/rmixl/machdep.c Thu Jan 19 08:20:32 2012
@@ -100,7 +100,7 @@ __KERNEL_RCSID(0, "machdep.c,v 1.1.2.34
//#define MACHDEP_DEBUG 1
#ifdef MACHDEP_DEBUG
-int machdep_debug=MACHDEP_DEBUG;
+extern int machdep_debug;
# define DPRINTF(x,...) do { if (machdep_debug) printf(x, ## __VA_ARGS__); } while(0)
#else
# define DPRINTF(x,...)