Skip to contentSkip to conversation

netconsole: mark local funcs with static

PATCH New Mike Frysinger 2 participants 2 messages Dec 21, 2009 – Jan 17, 2010

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 netconsole: mark local funcs with static

---
 drivers/net/netconsole.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)
drivers/net/netconsole.c +5 -5
index f5329a5..e27bb3e 100644
@@ -139,7 +139,7 @@ static void nc_send_packet (const char *buf, int len)
 		eth_halt ();
 }
 
-int nc_start (void)
+static int nc_start(void)
 {
 	int netmask, our_ip;
 
@@ -169,7 +169,7 @@ int nc_start (void)
 	return 0;
 }
 
-void nc_putc (char c)
+static void nc_putc(char c)
 {
 	if (output_recursion)
 		return;
@@ -180,7 +180,7 @@ void nc_putc (char c)
 	output_recursion = 0;
 }
 
-void nc_puts (const char *s)
+static void nc_puts(const char *s)
 {
 	int len;
 
@@ -196,7 +196,7 @@ void nc_puts (const char *s)
 	output_recursion = 0;
 }
 
-int nc_getc (void)
+static int nc_getc(void)
 {
 	uchar c;
 
@@ -217,7 +217,7 @@ int nc_getc (void)
 	return c;
 }
 
-int nc_tstc (void)
+static int nc_tstc(void)
 {
 	struct eth_device *eth;
 
Signature · 1 line
1.6.5.4
#1 lore raw

PATCH 1/1 netconsole: mark local funcs with static

Dear Mike Frysinger,

Quoted 4 lines · In message <[email protected]> you wrote:
---
 drivers/net/netconsole.c |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

Applied, thanks.

Best regards,

Wolfgang Denk

Signature · 5 lines
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
"The greatest warriors are the ones who fight for peace."
- Holly Near