Skip to contentSkip to conversation

arm/km: make local functions static

PATCH New Holger Brunck 2 participants 2 messages May 6, 2013 – Jun 10, 2013

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 arm/km: make local functions static

---
 board/keymile/km_arm/km_arm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/keymile/km_arm/km_arm.c +2 -2
index eda9199..b944887 100644
@@ -160,7 +160,7 @@ int ethernet_present(void)
 }
 #endif
 
-int initialize_unit_leds(void)
+static int initialize_unit_leds(void)
 {
 	/*
 	 * Init the unit LEDs per default they all are
@@ -181,7 +181,7 @@ int initialize_unit_leds(void)
 }
 
 #if defined(CONFIG_BOOTCOUNT_LIMIT)
-void set_bootcount_addr(void)
+static void set_bootcount_addr(void)
 {
 	uchar buf[32];
 	unsigned int bootcountaddr;
Signature · 1 line
1.8.0.1
#1 lore raw

PATCH 1/1 arm/km: make local functions static

Hi Holger,

Quoted 19 lines · Holger Brunck
---
 board/keymile/km_arm/km_arm.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
board/keymile/km_arm/km_arm.c +1 -1
index eda9199..b944887 100644
@@ -160,7 +160,7 @@ int ethernet_present(void)
 }
 #endif
 
-int initialize_unit_leds(void)
+static int initialize_unit_leds(void)
 {
 	/*
 	 * Init the unit LEDs per default they all are

board/keymile/km_arm/km_arm.c int initialize_unit_leds(void) · line 187

Quoted 8 lines
board/keymile/km_arm/km_arm.c +1 -1
@@ -181,7 +181,7 @@ int initialize_unit_leds(void)
 }
 
 #if defined(CONFIG_BOOTCOUNT_LIMIT)
-void set_bootcount_addr(void)
+static void set_bootcount_addr(void)
 {
 	uchar buf[32];
 	unsigned int bootcountaddr;

Applied to u-boot-arm/master, thanks!

Amicalement,

Signature · 1 line
Albert.