Thu Jan 19 08:20:32 2012 UTC ()
Use extern for machdep_debug.


(matt)
diff -r1.1.2.44 -r1.1.2.45 src/sys/arch/evbmips/rmixl/machdep.c

cvs diff -r1.1.2.44 -r1.1.2.45 src/sys/arch/evbmips/rmixl/machdep.c (expand / switch to context diff)
--- src/sys/arch/evbmips/rmixl/machdep.c 2012/01/04 16:17:52 1.1.2.44
+++ src/sys/arch/evbmips/rmixl/machdep.c 2012/01/19 08:20:32 1.1.2.45
@@ -100,7 +100,7 @@
 
 //#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,...)