summaryrefslogtreecommitdiffstats
path: root/src/core
diff options
context:
space:
mode:
authorMichael Brown2007-01-19 02:13:12 +0100
committerMichael Brown2007-01-19 02:13:12 +0100
commit73b09ecba6dad0070e106a74eeed4bc388d60e02 (patch)
treef5ca3d4de25238da546341f367b8e52acafce43e /src/core
parentFinally move the prototypes for printf() and friends to stdio.h (diff)
downloadipxe-73b09ecba6dad0070e106a74eeed4bc388d60e02.tar.gz
ipxe-73b09ecba6dad0070e106a74eeed4bc388d60e02.tar.xz
ipxe-73b09ecba6dad0070e106a74eeed4bc388d60e02.zip
Use stdio.h instead of vsprintf.h
Diffstat (limited to 'src/core')
-rw-r--r--src/core/exec.c2
-rw-r--r--src/core/getopt.c2
-rw-r--r--src/core/image.c2
-rw-r--r--src/core/malloc.c2
-rw-r--r--src/core/settings.c2
-rw-r--r--src/core/vsprintf.c1
6 files changed, 6 insertions, 5 deletions
diff --git a/src/core/exec.c b/src/core/exec.c
index 8f1ef3339..a1c073e3a 100644
--- a/src/core/exec.c
+++ b/src/core/exec.c
@@ -19,11 +19,11 @@
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include <unistd.h>
#include <getopt.h>
#include <errno.h>
#include <assert.h>
-#include <vsprintf.h>
#include <gpxe/tables.h>
#include <gpxe/command.h>
diff --git a/src/core/getopt.c b/src/core/getopt.c
index 547aa6940..6de412bb8 100644
--- a/src/core/getopt.c
+++ b/src/core/getopt.c
@@ -18,7 +18,7 @@
#include <stdint.h>
#include <string.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <getopt.h>
/** @file
diff --git a/src/core/image.c b/src/core/image.c
index 0ff0a7065..5a2ee824e 100644
--- a/src/core/image.c
+++ b/src/core/image.c
@@ -19,9 +19,9 @@
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include <errno.h>
#include <assert.h>
-#include <vsprintf.h>
#include <gpxe/list.h>
#include <gpxe/image.h>
diff --git a/src/core/malloc.c b/src/core/malloc.c
index 448080b4f..6dfdd632a 100644
--- a/src/core/malloc.c
+++ b/src/core/malloc.c
@@ -340,7 +340,7 @@ void mpopulate ( void *start, size_t len ) {
}
#if 0
-#include <vsprintf.h>
+#include <stdio.h>
/**
* Dump free block list
*
diff --git a/src/core/settings.c b/src/core/settings.c
index a1f404440..42029fdcd 100644
--- a/src/core/settings.c
+++ b/src/core/settings.c
@@ -18,12 +18,12 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include <strings.h>
#include <byteswap.h>
#include <errno.h>
#include <assert.h>
-#include <vsprintf.h>
#include <gpxe/in.h>
#include <gpxe/settings.h>
diff --git a/src/core/vsprintf.c b/src/core/vsprintf.c
index e225d48c2..ca22ae886 100644
--- a/src/core/vsprintf.c
+++ b/src/core/vsprintf.c
@@ -18,6 +18,7 @@
#include <stddef.h>
#include <stdarg.h>
+#include <stdio.h>
#include <console.h>
#include <errno.h>
#include <vsprintf.h>