summaryrefslogtreecommitdiffstats
path: root/src/net/ndp.c
diff options
context:
space:
mode:
authorHolger Lubitz2007-07-27 21:37:29 +0200
committerHolger Lubitz2007-07-27 21:37:29 +0200
commitfa11865de0c90599c3c3d30bdf2d1094b556a79b (patch)
tree9df4e9331996b5402bcb05ec3d6c407083296c08 /src/net/ndp.c
parentmake isspace static (diff)
downloadipxe-fa11865de0c90599c3c3d30bdf2d1094b556a79b.tar.gz
ipxe-fa11865de0c90599c3c3d30bdf2d1094b556a79b.tar.xz
ipxe-fa11865de0c90599c3c3d30bdf2d1094b556a79b.zip
make add_ndp_entry static
Diffstat (limited to 'src/net/ndp.c')
-rw-r--r--src/net/ndp.c5
1 files 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];