summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Hofstee <jeroen@myspectrum.nl>2014-10-08 22:57:36 +0200
committerTom Rini <trini@ti.com>2014-10-25 07:02:01 -0400
commit783a91fdbbf1d1d4530ca8c74d9ebae942b21378 (patch)
treed0699de08ef28ca5c0873ada99d56a003e342416
parent45f08d359f7fc7892486f73475003a2103e25421 (diff)
eth: make eth_address_set static
Signed-off-by: Jeroen Hofstee <jeroen@myspectrum.nl>
-rw-r--r--net/eth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/net/eth.c b/net/eth.c
index 76ffa05608a..eac4f7b3d0e 100644
--- a/net/eth.c
+++ b/net/eth.c
@@ -153,7 +153,7 @@ static void eth_current_changed(void)
setenv("ethact", NULL);
}
-int eth_address_set(unsigned char *addr)
+static int eth_address_set(unsigned char *addr)
{
return memcmp(addr, "\0\0\0\0\0\0", 6);
}