summaryrefslogtreecommitdiffstats
path: root/src/core
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/core
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/core')
-rw-r--r--src/core/buffer.c1
-rw-r--r--src/core/device.c1
-rw-r--r--src/core/malloc.c1
-rw-r--r--src/core/osloader.c1
-rw-r--r--src/core/resolv.c1
5 files changed, 0 insertions, 5 deletions
diff --git a/src/core/buffer.c b/src/core/buffer.c
index df08b66d9..5c31ff8de 100644
--- a/src/core/buffer.c
+++ b/src/core/buffer.c
@@ -38,7 +38,6 @@
*
*/
-#include "stdio.h"
#include "stddef.h"
#include "string.h"
#include "io.h"
diff --git a/src/core/device.c b/src/core/device.c
index dfbb997ec..e54ab2970 100644
--- a/src/core/device.c
+++ b/src/core/device.c
@@ -19,7 +19,6 @@
#include <gpxe/list.h>
#include <gpxe/tables.h>
#include <gpxe/device.h>
-#include "stdio.h"
/**
* @file
diff --git a/src/core/malloc.c b/src/core/malloc.c
index 14e54976a..cff2a431b 100644
--- a/src/core/malloc.c
+++ b/src/core/malloc.c
@@ -16,7 +16,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <string.h>
diff --git a/src/core/osloader.c b/src/core/osloader.c
index 09d671a0e..ddbe68a3a 100644
--- a/src/core/osloader.c
+++ b/src/core/osloader.c
@@ -29,7 +29,6 @@ Modifications: Ken Yap (for Etherboot/16)
* your option) any later version.
*/
-#include "stdio.h"
#include "io.h"
#include "memsizes.h"
diff --git a/src/core/resolv.c b/src/core/resolv.c
index f13ab1529..0737294ac 100644
--- a/src/core/resolv.c
+++ b/src/core/resolv.c
@@ -1,5 +1,4 @@
#include "resolv.h"
-#include "stdio.h"
static struct resolver resolvers[0] __table_start(resolver);
static struct resolver resolvers_end[0] __table_end(resolver);