Skip to contentSkip to conversation

markers: make marker_debug static

PATCH New Harvey Harrison 1 participant 1 message Feb 25, 2008

lore
Share & tools
lore
#0 lore raw

PATCH 1/6 markers: make marker_debug static

Introduced between 2.6.25-rc2 and -rc3
kernel/marker.c:31:11: warning: symbol 'marker_debug' was not declared. Should it be static?

---
 kernel/marker.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
kernel/marker.c +1 -1
index 50effc0..dc2eb12 100644
@@ -28,7 +28,7 @@ extern struct marker __start___markers[];
 extern struct marker __stop___markers[];
 
 /* Set to 1 to enable marker debug output */
-const int marker_debug;
+static const int marker_debug;
 
 /*
  * markers_mutex nests inside module_mutex. Markers mutex protects the builtin
Signature · 1 line
1.5.4.2.200.g99e75