summaryrefslogtreecommitdiffstats
path: root/src/net
diff options
context:
space:
mode:
authorMichael Brown2006-09-27 12:58:14 +0200
committerMichael Brown2006-09-27 12:58:14 +0200
commit88e38fa1483891f273f063f92ef71a5c33fe5406 (patch)
treec62007eae5dddf82b2b90e154ae0e4f400d6b09c /src/net
parentadded stdio.h to includes for DBG compilation (diff)
downloadipxe-88e38fa1483891f273f063f92ef71a5c33fe5406.tar.gz
ipxe-88e38fa1483891f273f063f92ef71a5c33fe5406.tar.xz
ipxe-88e38fa1483891f273f063f92ef71a5c33fe5406.zip
We don't actually have a stdio.h header file. Our printf() functions are
defined in vsprintf.h. (This may change, since vsprintf.h is a non-standard name, but for now it's the one to use.) There should be no need to include vsprintf.h just for DBG() statements, since include/compiler.h forces it in for a debug build anyway.
Diffstat (limited to 'src/net')
-rw-r--r--src/net/arp.c1
-rw-r--r--src/net/icmpv6.c1
-rw-r--r--src/net/ndp.c1
-rw-r--r--src/net/netdevice.c1
-rw-r--r--src/net/retry.c1
-rw-r--r--src/net/tcpip.c1
-rw-r--r--src/net/udp.c1
-rw-r--r--src/net/udp/dhcp.c1
-rw-r--r--src/net/uip/uip.c1
9 files changed, 0 insertions, 9 deletions
diff --git a/src/net/arp.c b/src/net/arp.c
index 8ca30245d..fea81d719 100644
--- a/src/net/arp.c
+++ b/src/net/arp.c
@@ -16,7 +16,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include "stdio.h"
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
diff --git a/src/net/icmpv6.c b/src/net/icmpv6.c
index c48bf127c..d1f58bd1d 100644
--- a/src/net/icmpv6.c
+++ b/src/net/icmpv6.c
@@ -1,4 +1,3 @@
-#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
diff --git a/src/net/ndp.c b/src/net/ndp.c
index d99a95695..11085a43c 100644
--- a/src/net/ndp.c
+++ b/src/net/ndp.c
@@ -1,4 +1,3 @@
-#include "stdio.h"
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index 2ee140902..634977f7a 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -16,7 +16,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <stdio.h>
#include <stdint.h>
#include <byteswap.h>
#include <string.h>
diff --git a/src/net/retry.c b/src/net/retry.c
index ac98dcfab..0fb479522 100644
--- a/src/net/retry.c
+++ b/src/net/retry.c
@@ -16,7 +16,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <stdio.h>
#include <stddef.h>
#include <latch.h>
#include <gpxe/list.h>
diff --git a/src/net/tcpip.c b/src/net/tcpip.c
index 7476628e1..33c9872c8 100644
--- a/src/net/tcpip.c
+++ b/src/net/tcpip.c
@@ -1,4 +1,3 @@
-#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <errno.h>
diff --git a/src/net/udp.c b/src/net/udp.c
index e46c772eb..21bfebcd6 100644
--- a/src/net/udp.c
+++ b/src/net/udp.c
@@ -1,4 +1,3 @@
-#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
diff --git a/src/net/udp/dhcp.c b/src/net/udp/dhcp.c
index 9c36516db..af32f2131 100644
--- a/src/net/udp/dhcp.c
+++ b/src/net/udp/dhcp.c
@@ -16,7 +16,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <stdio.h>
#include <string.h>
#include <errno.h>
#include <assert.h>
diff --git a/src/net/uip/uip.c b/src/net/uip/uip.c
index cde69fef8..d2f0e0c01 100644
--- a/src/net/uip/uip.c
+++ b/src/net/uip/uip.c
@@ -168,7 +168,6 @@ struct uip_stats uip_stat;
#endif /* UIP_STATISTICS == 1 */
#if UIP_LOGGING == 1
-#include <stdio.h>
void uip_log(char *msg);
#define UIP_LOG(m) uip_log(m)
#else