summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/arch/i386/core/nulltrap.c2
-rw-r--r--src/arch/i386/drivers/net/undi.c2
-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
-rw-r--r--src/drivers/bus/pci.c2
-rw-r--r--src/drivers/net/legacy.c2
-rw-r--r--src/drivers/net/pnic.c2
-rw-r--r--src/drivers/net/rtl8139.c2
-rw-r--r--src/hci/commands/autoboot_cmd.c2
-rw-r--r--src/hci/commands/config_cmd.c2
-rw-r--r--src/hci/commands/dhcp_cmd.c2
-rw-r--r--src/hci/commands/ifmgmt_cmd.c2
-rw-r--r--src/hci/commands/image_cmd.c2
-rw-r--r--src/hci/commands/nvo_cmd.c2
-rw-r--r--src/hci/commands/route_cmd.c2
-rw-r--r--src/hci/mucurses/alert.c2
-rw-r--r--src/hci/mucurses/print.c3
-rw-r--r--src/hci/shell.c2
-rw-r--r--src/hci/strerror.c2
-rw-r--r--src/include/console.h2
-rw-r--r--src/net/aoe.c2
-rw-r--r--src/net/dhcpopts.c2
-rw-r--r--src/net/ethernet.c2
-rw-r--r--src/net/ipv4.c2
-rw-r--r--src/net/ipv6.c2
-rw-r--r--src/net/netdevice.c2
-rw-r--r--src/net/tcp.c2
-rw-r--r--src/net/tcp/ftp.c2
-rw-r--r--src/net/tcp/http.c2
-rw-r--r--src/net/tcp/iscsi.c2
-rw-r--r--src/net/udp/tftp.c2
-rw-r--r--src/tests/aoeboot.c2
-rw-r--r--src/tests/dhcptest.c2
-rw-r--r--src/tests/iscsiboot.c2
-rw-r--r--src/tests/linebuf_test.c2
-rw-r--r--src/tests/umalloc_test.c2
-rw-r--r--src/usr/autoboot.c2
-rw-r--r--src/usr/dhcpmgmt.c2
-rw-r--r--src/usr/ifmgmt.c2
-rw-r--r--src/usr/imgmgmt.c2
-rw-r--r--src/usr/route.c2
45 files changed, 45 insertions, 45 deletions
diff --git a/src/arch/i386/core/nulltrap.c b/src/arch/i386/core/nulltrap.c
index bd4b75774..61fe5564c 100644
--- a/src/arch/i386/core/nulltrap.c
+++ b/src/arch/i386/core/nulltrap.c
@@ -1,5 +1,5 @@
#include <stdint.h>
-#include <vsprintf.h>
+#include <stdio.h>
__attribute__ (( noreturn, section ( ".text.null_trap" ) ))
void null_function_trap ( void ) {
diff --git a/src/arch/i386/drivers/net/undi.c b/src/arch/i386/drivers/net/undi.c
index c93ad2476..648835cff 100644
--- a/src/arch/i386/drivers/net/undi.c
+++ b/src/arch/i386/drivers/net/undi.c
@@ -18,8 +18,8 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
-#include <vsprintf.h>
#include <gpxe/pci.h>
#include <undi.h>
#include <undirom.h>
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>
diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c
index 56436b7d6..e8f34fba3 100644
--- a/src/drivers/bus/pci.c
+++ b/src/drivers/bus/pci.c
@@ -21,9 +21,9 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include <errno.h>
-#include <vsprintf.h>
#include <gpxe/tables.h>
#include <gpxe/device.h>
#include <gpxe/pci.h>
diff --git a/src/drivers/net/legacy.c b/src/drivers/net/legacy.c
index 73d1d7871..1719c82af 100644
--- a/src/drivers/net/legacy.c
+++ b/src/drivers/net/legacy.c
@@ -1,6 +1,6 @@
#include <stdint.h>
+#include <stdio.h>
#include <errno.h>
-#include <vsprintf.h>
#include <gpxe/if_ether.h>
#include <gpxe/netdevice.h>
#include <gpxe/ethernet.h>
diff --git a/src/drivers/net/pnic.c b/src/drivers/net/pnic.c
index 21097d2ec..7f4424202 100644
--- a/src/drivers/net/pnic.c
+++ b/src/drivers/net/pnic.c
@@ -13,8 +13,8 @@ Bochs Pseudo NIC driver for Etherboot
*/
#include <stdint.h>
+#include <stdio.h>
#include <io.h>
-#include <vsprintf.h>
#include <errno.h>
#include <gpxe/pci.h>
#include <gpxe/if_ether.h>
diff --git a/src/drivers/net/rtl8139.c b/src/drivers/net/rtl8139.c
index ff1fa646a..d3b89223a 100644
--- a/src/drivers/net/rtl8139.c
+++ b/src/drivers/net/rtl8139.c
@@ -68,9 +68,9 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <io.h>
#include <errno.h>
-#include <vsprintf.h>
#include <timer.h>
#include <byteswap.h>
#include <gpxe/pci.h>
diff --git a/src/hci/commands/autoboot_cmd.c b/src/hci/commands/autoboot_cmd.c
index d7fb2e1fb..0e6f2948d 100644
--- a/src/hci/commands/autoboot_cmd.c
+++ b/src/hci/commands/autoboot_cmd.c
@@ -1,4 +1,4 @@
-#include <vsprintf.h>
+#include <stdio.h>
#include <gpxe/command.h>
#include <usr/autoboot.h>
diff --git a/src/hci/commands/config_cmd.c b/src/hci/commands/config_cmd.c
index a15593913..368a6ca4a 100644
--- a/src/hci/commands/config_cmd.c
+++ b/src/hci/commands/config_cmd.c
@@ -1,5 +1,5 @@
#include <string.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <gpxe/command.h>
#include <gpxe/settings.h>
#include <gpxe/settings_ui.h>
diff --git a/src/hci/commands/dhcp_cmd.c b/src/hci/commands/dhcp_cmd.c
index 8cfd428e3..208f35578 100644
--- a/src/hci/commands/dhcp_cmd.c
+++ b/src/hci/commands/dhcp_cmd.c
@@ -18,8 +18,8 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <getopt.h>
-#include <vsprintf.h>
#include <gpxe/netdevice.h>
#include <gpxe/command.h>
#include <usr/dhcpmgmt.h>
diff --git a/src/hci/commands/ifmgmt_cmd.c b/src/hci/commands/ifmgmt_cmd.c
index dc255e160..f2508e556 100644
--- a/src/hci/commands/ifmgmt_cmd.c
+++ b/src/hci/commands/ifmgmt_cmd.c
@@ -16,8 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <stdio.h>
#include <getopt.h>
-#include <vsprintf.h>
#include <gpxe/netdevice.h>
#include <gpxe/command.h>
#include <usr/ifmgmt.h>
diff --git a/src/hci/commands/image_cmd.c b/src/hci/commands/image_cmd.c
index 900886ff2..98de50e25 100644
--- a/src/hci/commands/image_cmd.c
+++ b/src/hci/commands/image_cmd.c
@@ -18,10 +18,10 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <errno.h>
#include <libgen.h>
#include <getopt.h>
-#include <vsprintf.h>
#include <gpxe/image.h>
#include <gpxe/command.h>
#include <gpxe/initrd.h>
diff --git a/src/hci/commands/nvo_cmd.c b/src/hci/commands/nvo_cmd.c
index 91c132059..4392787b0 100644
--- a/src/hci/commands/nvo_cmd.c
+++ b/src/hci/commands/nvo_cmd.c
@@ -1,8 +1,8 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
#include <errno.h>
-#include <vsprintf.h>
#include <getopt.h>
#include <gpxe/nvo.h>
#include <gpxe/dhcp.h>
diff --git a/src/hci/commands/route_cmd.c b/src/hci/commands/route_cmd.c
index 2e9de562f..227682cb4 100644
--- a/src/hci/commands/route_cmd.c
+++ b/src/hci/commands/route_cmd.c
@@ -16,8 +16,8 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
+#include <stdio.h>
#include <getopt.h>
-#include <vsprintf.h>
#include <gpxe/command.h>
#include <usr/route.h>
diff --git a/src/hci/mucurses/alert.c b/src/hci/mucurses/alert.c
index 4e88b82a7..00e959a89 100644
--- a/src/hci/mucurses/alert.c
+++ b/src/hci/mucurses/alert.c
@@ -1,5 +1,5 @@
#include <curses.h>
-#include <vsprintf.h>
+#include <stdio.h>
/** @file
*
diff --git a/src/hci/mucurses/print.c b/src/hci/mucurses/print.c
index fc14e67e0..80766bc94 100644
--- a/src/hci/mucurses/print.c
+++ b/src/hci/mucurses/print.c
@@ -1,6 +1,7 @@
#include <curses.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <stddef.h>
+#include <vsprintf.h>
#include "mucurses.h"
/** @file
diff --git a/src/hci/shell.c b/src/hci/shell.c
index 95662b501..b14af5426 100644
--- a/src/hci/shell.c
+++ b/src/hci/shell.c
@@ -18,7 +18,7 @@
#include <stdint.h>
#include <stdlib.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <readline/readline.h>
#include <gpxe/command.h>
#include <gpxe/shell.h>
diff --git a/src/hci/strerror.c b/src/hci/strerror.c
index e407d30b8..56b07e8a9 100644
--- a/src/hci/strerror.c
+++ b/src/hci/strerror.c
@@ -1,6 +1,6 @@
#include <errno.h>
#include <string.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <gpxe/errortab.h>
/** @file
diff --git a/src/include/console.h b/src/include/console.h
index f38d4ecfc..b1fe955b2 100644
--- a/src/include/console.h
+++ b/src/include/console.h
@@ -1,8 +1,6 @@
#ifndef CONSOLE_H
#define CONSOLE_H
-#include "stdint.h"
-#include "vsprintf.h"
#include <gpxe/tables.h>
/** @file
diff --git a/src/net/aoe.c b/src/net/aoe.c
index 1c3cd1d2b..58579e23d 100644
--- a/src/net/aoe.c
+++ b/src/net/aoe.c
@@ -18,7 +18,7 @@
#include <stddef.h>
#include <string.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <errno.h>
#include <assert.h>
#include <byteswap.h>
diff --git a/src/net/dhcpopts.c b/src/net/dhcpopts.c
index 3013b669b..b2a226661 100644
--- a/src/net/dhcpopts.c
+++ b/src/net/dhcpopts.c
@@ -18,11 +18,11 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <byteswap.h>
#include <errno.h>
#include <string.h>
#include <assert.h>
-#include <vsprintf.h>
#include <gpxe/list.h>
#include <gpxe/in.h>
#include <gpxe/dhcp.h>
diff --git a/src/net/ethernet.c b/src/net/ethernet.c
index 690b22182..cee67d469 100644
--- a/src/net/ethernet.c
+++ b/src/net/ethernet.c
@@ -17,11 +17,11 @@
*/
#include <stdint.h>
+#include <stdio.h>
#include <string.h>
#include <byteswap.h>
#include <errno.h>
#include <assert.h>
-#include <vsprintf.h>
#include <gpxe/if_arp.h>
#include <gpxe/if_ether.h>
#include <gpxe/netdevice.h>
diff --git a/src/net/ipv4.c b/src/net/ipv4.c
index 065bf61c4..8bbcff155 100644
--- a/src/net/ipv4.c
+++ b/src/net/ipv4.c
@@ -1,9 +1,9 @@
#include <string.h>
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <errno.h>
#include <byteswap.h>
-#include <vsprintf.h>
#include <gpxe/list.h>
#include <gpxe/in.h>
#include <gpxe/arp.h>
diff --git a/src/net/ipv6.c b/src/net/ipv6.c
index 26c43dd0b..458a93758 100644
--- a/src/net/ipv6.c
+++ b/src/net/ipv6.c
@@ -2,7 +2,7 @@
#include <stdint.h>
#include <string.h>
#include <stdlib.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <byteswap.h>
#include <gpxe/in.h>
#include <gpxe/ip6.h>
diff --git a/src/net/netdevice.c b/src/net/netdevice.c
index c5085918f..af2bbf586 100644
--- a/src/net/netdevice.c
+++ b/src/net/netdevice.c
@@ -18,10 +18,10 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <byteswap.h>
#include <string.h>
#include <errno.h>
-#include <vsprintf.h>
#include <gpxe/if_ether.h>
#include <gpxe/pkbuff.h>
#include <gpxe/tables.h>
diff --git a/src/net/tcp.c b/src/net/tcp.c
index 2311881bf..2c2f0b333 100644
--- a/src/net/tcp.c
+++ b/src/net/tcp.c
@@ -1,10 +1,10 @@
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include <assert.h>
#include <errno.h>
#include <byteswap.h>
#include <timer.h>
-#include <vsprintf.h>
#include <gpxe/pkbuff.h>
#include <gpxe/malloc.h>
#include <gpxe/retry.h>
diff --git a/src/net/tcp/ftp.c b/src/net/tcp/ftp.c
index 7d10d8550..785678842 100644
--- a/src/net/tcp/ftp.c
+++ b/src/net/tcp/ftp.c
@@ -1,7 +1,7 @@
#include <stddef.h>
#include <stdlib.h>
+#include <stdio.h>
#include <string.h>
-#include <vsprintf.h>
#include <assert.h>
#include <errno.h>
#include <gpxe/async.h>
diff --git a/src/net/tcp/http.c b/src/net/tcp/http.c
index 87f6eee2b..329324458 100644
--- a/src/net/tcp/http.c
+++ b/src/net/tcp/http.c
@@ -25,12 +25,12 @@
#include <stddef.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/async.h>
#include <gpxe/uri.h>
#include <gpxe/buffer.h>
diff --git a/src/net/tcp/iscsi.c b/src/net/tcp/iscsi.c
index 09edf697d..4d95c0b9a 100644
--- a/src/net/tcp/iscsi.c
+++ b/src/net/tcp/iscsi.c
@@ -19,7 +19,7 @@
#include <stddef.h>
#include <string.h>
#include <stdlib.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <errno.h>
#include <assert.h>
#include <byteswap.h>
diff --git a/src/net/udp/tftp.c b/src/net/udp/tftp.c
index 992b82bae..b07c150aa 100644
--- a/src/net/udp/tftp.c
+++ b/src/net/udp/tftp.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/async.h>
#include <gpxe/tftp.h>
#include <gpxe/uri.h>
diff --git a/src/tests/aoeboot.c b/src/tests/aoeboot.c
index 0fa9ba822..17fda2c66 100644
--- a/src/tests/aoeboot.c
+++ b/src/tests/aoeboot.c
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <errno.h>
-#include <vsprintf.h>
#include <console.h>
#include <gpxe/netdevice.h>
#include <gpxe/aoe.h>
diff --git a/src/tests/dhcptest.c b/src/tests/dhcptest.c
index f35a34786..7e4bedbd4 100644
--- a/src/tests/dhcptest.c
+++ b/src/tests/dhcptest.c
@@ -1,7 +1,7 @@
#include <string.h>
#include <stdlib.h>
+#include <stdio.h>
#include <errno.h>
-#include <vsprintf.h>
#include <byteswap.h>
#include <gpxe/ip.h>
#include <gpxe/dhcp.h>
diff --git a/src/tests/iscsiboot.c b/src/tests/iscsiboot.c
index ce8478563..bb20a5fa8 100644
--- a/src/tests/iscsiboot.c
+++ b/src/tests/iscsiboot.c
@@ -1,7 +1,7 @@
#include <stdint.h>
#include <string.h>
+#include <stdio.h>
#include <byteswap.h>
-#include <vsprintf.h>
#include <gpxe/netdevice.h>
#include <gpxe/iscsi.h>
#include <gpxe/ibft.h>
diff --git a/src/tests/linebuf_test.c b/src/tests/linebuf_test.c
index 31ce808bf..8ba88c566 100644
--- a/src/tests/linebuf_test.c
+++ b/src/tests/linebuf_test.c
@@ -1,6 +1,6 @@
#include <stdint.h>
#include <string.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <gpxe/linebuf.h>
static const char data1[] =
diff --git a/src/tests/umalloc_test.c b/src/tests/umalloc_test.c
index 910edfefc..7a3618684 100644
--- a/src/tests/umalloc_test.c
+++ b/src/tests/umalloc_test.c
@@ -1,4 +1,4 @@
-#include <vsprintf.h>
+#include <stdio.h>
#include <gpxe/uaccess.h>
#include <gpxe/umalloc.h>
#include <gpxe/memmap.h>
diff --git a/src/usr/autoboot.c b/src/usr/autoboot.c
index ebafde7ee..0e606efba 100644
--- a/src/usr/autoboot.c
+++ b/src/usr/autoboot.c
@@ -17,8 +17,8 @@
*/
#include <string.h>
+#include <stdio.h>
#include <errno.h>
-#include <vsprintf.h>
#include <gpxe/netdevice.h>
#include <gpxe/dhcp.h>
#include <gpxe/image.h>
diff --git a/src/usr/dhcpmgmt.c b/src/usr/dhcpmgmt.c
index 42a0f2b79..060dd67ed 100644
--- a/src/usr/dhcpmgmt.c
+++ b/src/usr/dhcpmgmt.c
@@ -17,8 +17,8 @@
*/
#include <string.h>
+#include <stdio.h>
#include <byteswap.h>
-#include <vsprintf.h>
#include <gpxe/in.h>
#include <gpxe/ip.h>
#include <gpxe/dhcp.h>
diff --git a/src/usr/ifmgmt.c b/src/usr/ifmgmt.c
index 7b9d84704..ff5b34a66 100644
--- a/src/usr/ifmgmt.c
+++ b/src/usr/ifmgmt.c
@@ -17,7 +17,7 @@
*/
#include <string.h>
-#include <vsprintf.h>
+#include <stdio.h>
#include <gpxe/netdevice.h>
#include <gpxe/device.h>
#include <usr/ifmgmt.h>
diff --git a/src/usr/imgmgmt.c b/src/usr/imgmgmt.c
index 06ae872e0..0d2c9cb48 100644
--- a/src/usr/imgmgmt.c
+++ b/src/usr/imgmgmt.c
@@ -18,8 +18,8 @@
#include <stdint.h>
#include <stdlib.h>
+#include <stdio.h>
#include <errno.h>
-#include <vsprintf.h>
#include <gpxe/image.h>
#include <gpxe/umalloc.h>
#include <gpxe/download.h>
diff --git a/src/usr/route.c b/src/usr/route.c
index b7f02f579..f3a49f46b 100644
--- a/src/usr/route.c
+++ b/src/usr/route.c
@@ -16,7 +16,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/
-#include <vsprintf.h>
+#include <stdio.h>
#include <gpxe/netdevice.h>
#include <gpxe/ip.h>
#include <usr/route.h>