diff options
author | Michael Brown <mcb30@etherboot.org> | 2006-09-27 10:58:14 +0000 |
---|---|---|
committer | Michael Brown <mcb30@etherboot.org> | 2006-09-27 10:58:14 +0000 |
commit | 88e38fa1483891f273f063f92ef71a5c33fe5406 (patch) | |
tree | c62007eae5dddf82b2b90e154ae0e4f400d6b09c | |
parent | 6ac78f6aff85b2a41d1c98011c41f622d569076a (diff) | |
download | ipxe-88e38fa1483891f273f063f92ef71a5c33fe5406.tar.gz |
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.
32 files changed, 0 insertions, 32 deletions
diff --git a/src/arch/i386/core/load_buffer.c b/src/arch/i386/core/load_buffer.c index 4f19a3ce5..3e34d2b53 100644 --- a/src/arch/i386/core/load_buffer.c +++ b/src/arch/i386/core/load_buffer.c @@ -1,4 +1,3 @@ -#include <stdio.h> #include "io.h" #include "load_buffer.h" diff --git a/src/arch/i386/core/relocate.c b/src/arch/i386/core/relocate.c index 1e9332eef..c9ac7ee12 100644 --- a/src/arch/i386/core/relocate.c +++ b/src/arch/i386/core/relocate.c @@ -1,4 +1,3 @@ -#include <stdio.h> #include <io.h> #include <registers.h> #include <memmap.h> diff --git a/src/arch/i386/firmware/pcbios/hidemem.c b/src/arch/i386/firmware/pcbios/hidemem.c index 2225787e8..276f9c926 100644 --- a/src/arch/i386/firmware/pcbios/hidemem.c +++ b/src/arch/i386/firmware/pcbios/hidemem.c @@ -15,7 +15,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include <realmode.h> #include <biosint.h> diff --git a/src/arch/i386/firmware/pcbios/memmap.c b/src/arch/i386/firmware/pcbios/memmap.c index 1995dfd69..daa1d99cc 100644 --- a/src/arch/i386/firmware/pcbios/memmap.c +++ b/src/arch/i386/firmware/pcbios/memmap.c @@ -16,7 +16,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include <stdint.h> #include <errno.h> #include <realmode.h> diff --git a/src/arch/i386/interface/pcbios/int13.c b/src/arch/i386/interface/pcbios/int13.c index 790dda977..798fb6dfd 100644 --- a/src/arch/i386/interface/pcbios/int13.c +++ b/src/arch/i386/interface/pcbios/int13.c @@ -16,7 +16,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include <stdint.h> #include <limits.h> #include <byteswap.h> diff --git a/src/arch/i386/interface/pxe/pxe_call.c b/src/arch/i386/interface/pxe/pxe_call.c index 0e7c09a49..df32dd7d9 100644 --- a/src/arch/i386/interface/pxe/pxe_call.c +++ b/src/arch/i386/interface/pxe/pxe_call.c @@ -16,7 +16,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include <gpxe/uaccess.h> #include <registers.h> #include <biosint.h> 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); diff --git a/src/crypto/framework.c b/src/crypto/framework.c index c09490d36..0da2cbe32 100644 --- a/src/crypto/framework.c +++ b/src/crypto/framework.c @@ -1,7 +1,6 @@ /* mcb - this file breaks the build process; temporarily deactivating */ #if 0 -#include <stdio.h> #include <stdlib.h> #include <sys/types.h> #include <sys/socket.h> diff --git a/src/crypto/ssl.c b/src/crypto/ssl.c index 823c926ad..00651bd4f 100644 --- a/src/crypto/ssl.c +++ b/src/crypto/ssl.c @@ -1,4 +1,3 @@ -#include <stdio.h> #include "ssl.h" #include "ssl_constructs.h" #include <string.h> // for bcopy() diff --git a/src/drivers/bitbash/i2c_bit.c b/src/drivers/bitbash/i2c_bit.c index 1cf78c226..f0a9b936f 100644 --- a/src/drivers/bitbash/i2c_bit.c +++ b/src/drivers/bitbash/i2c_bit.c @@ -16,7 +16,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include <stddef.h> #include <stdint.h> #include <errno.h> diff --git a/src/drivers/bitbash/spi_bit.c b/src/drivers/bitbash/spi_bit.c index add884a33..20ad412cc 100644 --- a/src/drivers/bitbash/spi_bit.c +++ b/src/drivers/bitbash/spi_bit.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/drivers/block/ata.c b/src/drivers/block/ata.c index 841912579..555a5f6ec 100644 --- a/src/drivers/block/ata.c +++ b/src/drivers/block/ata.c @@ -16,7 +16,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include <stddef.h> #include <string.h> #include <assert.h> diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c index 6f72bb90d..222f3eeab 100644 --- a/src/drivers/bus/pci.c +++ b/src/drivers/bus/pci.c @@ -19,7 +19,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include <stdint.h> #include <string.h> #include <errno.h> diff --git a/src/drivers/bus/pciextra.c b/src/drivers/bus/pciextra.c index 5d8150005..4603bcb9a 100644 --- a/src/drivers/bus/pciextra.c +++ b/src/drivers/bus/pciextra.c @@ -1,4 +1,3 @@ -#include <stdio.h> #include <stdint.h> #include <gpxe/pci.h> diff --git a/src/interface/pxe/pxe_loader.c b/src/interface/pxe/pxe_loader.c index b8dc06bd0..2539aaeb0 100644 --- a/src/interface/pxe/pxe_loader.c +++ b/src/interface/pxe/pxe_loader.c @@ -22,7 +22,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include "pxe.h" /* PXENV_UNDI_LOADER diff --git a/src/interface/pxe/pxe_tftp.c b/src/interface/pxe/pxe_tftp.c index dbaf601bf..a834be093 100644 --- a/src/interface/pxe/pxe_tftp.c +++ b/src/interface/pxe/pxe_tftp.c @@ -22,7 +22,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include "pxe.h" static int pxe_tftp_read_block ( unsigned char *data, unsigned int block, diff --git a/src/interface/pxe/pxe_udp.c b/src/interface/pxe/pxe_udp.c index 453d5b6c9..5f94e8c01 100644 --- a/src/interface/pxe/pxe_udp.c +++ b/src/interface/pxe/pxe_udp.c @@ -4,7 +4,6 @@ * */ -#include <stdio.h> #include <string.h> #include <byteswap.h> #include <gpxe/udp.h> diff --git a/src/interface/pxe/pxe_undi.c b/src/interface/pxe/pxe_undi.c index f9bf2a9aa..6d30d1b67 100644 --- a/src/interface/pxe/pxe_undi.c +++ b/src/interface/pxe/pxe_undi.c @@ -22,7 +22,6 @@ * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ -#include <stdio.h> #include "pxe.h" /* PXENV_UNDI_STARTUP 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 diff --git a/src/proto/nmb.c b/src/proto/nmb.c index 9fa17d9cb..d2944031e 100644 --- a/src/proto/nmb.c +++ b/src/proto/nmb.c @@ -1,4 +1,3 @@ -#include "stdio.h" #include "resolv.h" #include "string.h" #include "dns.h" |