summaryrefslogtreecommitdiffstats
path: root/src/net/ndp.c
diff options
context:
space:
mode:
authorMarty Connor2006-09-27 07:57:06 +0200
committerMarty Connor2006-09-27 07:57:06 +0200
commit6ac78f6aff85b2a41d1c98011c41f622d569076a (patch)
tree04afe77db724f594b006504ccddd2b6464fd2c4b /src/net/ndp.c
parentinclude stdio.h to suppress printf warning, general warnings fixups (diff)
downloadipxe-6ac78f6aff85b2a41d1c98011c41f622d569076a.tar.gz
ipxe-6ac78f6aff85b2a41d1c98011c41f622d569076a.tar.xz
ipxe-6ac78f6aff85b2a41d1c98011c41f622d569076a.zip
added stdio.h to includes for DBG compilation
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 b72cf76f..d99a9569 100644
--- a/src/net/ndp.c
+++ b/src/net/ndp.c
@@ -1,3 +1,4 @@
+#include "stdio.h"
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
@@ -147,8 +148,8 @@ int ndp_resolve ( struct net_device *netdev, struct in6_addr *dest,
* @v st_src Source address
* @v st_dest Destination address
*/
-int ndp_process_advert ( struct pk_buff *pkb, struct sockaddr_tcpip *st_src,
- struct sockaddr_tcpip *st_dest ) {
+int ndp_process_advert ( struct pk_buff *pkb, struct sockaddr_tcpip *st_src __unused,
+ struct sockaddr_tcpip *st_dest __unused ) {
struct neighbour_advert *nadvert = pkb->data;
struct ndp_entry *ndp;