From fa11865de0c90599c3c3d30bdf2d1094b556a79b Mon Sep 17 00:00:00 2001 From: Holger Lubitz Date: Fri, 27 Jul 2007 21:37:29 +0200 Subject: [PATCH] make add_ndp_entry static --- src/net/ndp.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/net/ndp.c b/src/net/ndp.c index 7c684e7c..3b6984db 100644 --- a/src/net/ndp.c +++ b/src/net/ndp.c @@ -65,8 +65,9 @@ ndp_find_entry ( struct in6_addr *in6 ) { * @v ll_addr Link-layer address * @v state State of the entry - one of the NDP_STATE_XXX values */ -void add_ndp_entry ( struct net_device *netdev, struct in6_addr *in6, - void *ll_addr, int state ) { +static void +add_ndp_entry ( struct net_device *netdev, struct in6_addr *in6, + void *ll_addr, int state ) { struct ndp_entry *ndp; ndp = &ndp_table[next_new_ndp_entry++ % NUM_NDP_ENTRIES];