Skip to contentSkip to conversation

init/calibrate.c: make a function static

PATCH New Adrian Bunk 1 participant 1 message May 6, 2005

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 init/calibrate.c: make a function static

This patch makes a needlessly global function static.

init/calibrate.c renamed from init/calibrate.c.old +2 -2
@@ -29,7 +29,7 @@
 #define DELAY_CALIBRATION_TICKS			((HZ < 100) ? 1 : (HZ/100))
 #define MAX_DIRECT_CALIBRATION_RETRIES		5
 
-unsigned long __devinit calibrate_delay_direct(void)
+static unsigned long __devinit calibrate_delay_direct(void)
 {
 	unsigned long pre_start, start, post_start;
 	unsigned long pre_end, end, post_end;
@@ -102,7 +102,7 @@
 	return 0;
 }
 #else
-unsigned long __devinit calibrate_delay_direct(void) {return 0;}
+static unsigned long __devinit calibrate_delay_direct(void) {return 0;}
 #endif
 
 /*