diff options
author | Mike Frysinger <vapier@gentoo.org> | 2009-12-21 14:19:12 -0500 |
---|---|---|
committer | Wolfgang Denk <wd@denx.de> | 2010-01-18 00:21:49 +0100 |
commit | fa2744de6584c92750f807a006e20a59ee046e76 (patch) | |
tree | 842abe4e355531891d1383d06f67e9119221f859 | |
parent | 7293e0577f149b75595b6f6ceb75bf50a523aff6 (diff) | |
download | u-boot-imx-fa2744de6584c92750f807a006e20a59ee046e76.zip u-boot-imx-fa2744de6584c92750f807a006e20a59ee046e76.tar.gz u-boot-imx-fa2744de6584c92750f807a006e20a59ee046e76.tar.bz2 |
netconsole: mark local funcs with static
Signed-off-by: Mike Frysinger <vapier@gentoo.org>
-rw-r--r-- | drivers/net/netconsole.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/drivers/net/netconsole.c b/drivers/net/netconsole.c index f5329a5..e27bb3e 100644 --- a/drivers/net/netconsole.c +++ b/drivers/net/netconsole.c @@ -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; |