[PATCH 33/42] net: make locally used functions static
Sascha Hauer
s.hauer at pengutronix.de
Tue Oct 19 08:55:21 EDT 2010
Signed-off-by: Sascha Hauer <s.hauer at pengutronix.de>
---
net/net.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/net/net.c b/net/net.c
index 8d99595..a613d1d 100644
--- a/net/net.c
+++ b/net/net.c
@@ -209,7 +209,7 @@ static void arp_handler(struct arprequest *arp)
}
}
-int arp_request(IPaddr_t dest, unsigned char *ether)
+static int arp_request(IPaddr_t dest, unsigned char *ether)
{
char *pkt;
struct arprequest *arp;
@@ -437,7 +437,7 @@ void net_unregister(struct net_connection *con)
free(con);
}
-int net_ip_send(struct net_connection *con, int len)
+static int net_ip_send(struct net_connection *con, int len)
{
con->ip->tot_len = htons(sizeof(struct iphdr) + len);
con->ip->id = htons(net_ip_id++);;
--
1.7.2.3
More information about the barebox
mailing list