diff options
author | Holger Lubitz <hal@duncan.ol.sub.de> | 2007-07-27 21:37:29 +0200 |
---|---|---|
committer | Holger Lubitz <hal@duncan.ol.sub.de> | 2007-07-27 21:37:29 +0200 |
commit | fa11865de0c90599c3c3d30bdf2d1094b556a79b (patch) | |
tree | 9df4e9331996b5402bcb05ec3d6c407083296c08 /src/net/ndp.c | |
parent | ed06bd8a89d109c4f884f2aa4c23452d60ff58d0 (diff) | |
download | ipxe-fa11865de0c90599c3c3d30bdf2d1094b556a79b.tar.gz |
make add_ndp_entry static
Diffstat (limited to 'src/net/ndp.c')
-rw-r--r-- | src/net/ndp.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/ndp.c b/src/net/ndp.c index 7c684e7c1..3b6984db8 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]; |