Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Michael Brown committed Sep 27, 2006
1 parent 6ac78f6 commit 88e38fa
Show file tree
Hide file tree
Showing 32 changed files with 0 additions and 32 deletions.
1 change: 0 additions & 1 deletion src/arch/i386/core/load_buffer.c
@@ -1,4 +1,3 @@
#include <stdio.h>
#include "io.h"
#include "load_buffer.h"

Expand Down
1 change: 0 additions & 1 deletion src/arch/i386/core/relocate.c
@@ -1,4 +1,3 @@
#include <stdio.h>
#include <io.h>
#include <registers.h>
#include <memmap.h>
Expand Down
1 change: 0 additions & 1 deletion src/arch/i386/firmware/pcbios/hidemem.c
Expand Up @@ -15,7 +15,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include <stdio.h>
#include <realmode.h>
#include <biosint.h>

Expand Down
1 change: 0 additions & 1 deletion src/arch/i386/firmware/pcbios/memmap.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/arch/i386/interface/pcbios/int13.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/arch/i386/interface/pxe/pxe_call.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/core/buffer.c
Expand Up @@ -38,7 +38,6 @@
*
*/

#include "stdio.h"
#include "stddef.h"
#include "string.h"
#include "io.h"
Expand Down
1 change: 0 additions & 1 deletion src/core/device.c
Expand Up @@ -19,7 +19,6 @@
#include <gpxe/list.h>
#include <gpxe/tables.h>
#include <gpxe/device.h>
#include "stdio.h"

/**
* @file
Expand Down
1 change: 0 additions & 1 deletion src/core/malloc.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/core/osloader.c
Expand Up @@ -29,7 +29,6 @@ Modifications: Ken Yap (for Etherboot/16)
* your option) any later version.
*/

#include "stdio.h"
#include "io.h"
#include "memsizes.h"

Expand Down
1 change: 0 additions & 1 deletion 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);
Expand Down
1 change: 0 additions & 1 deletion 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>
Expand Down
1 change: 0 additions & 1 deletion src/crypto/ssl.c
@@ -1,4 +1,3 @@
#include <stdio.h>
#include "ssl.h"
#include "ssl_constructs.h"
#include <string.h> // for bcopy()
Expand Down
1 change: 0 additions & 1 deletion src/drivers/bitbash/i2c_bit.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/drivers/bitbash/spi_bit.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/drivers/block/ata.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/drivers/bus/pci.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/drivers/bus/pciextra.c
@@ -1,4 +1,3 @@
#include <stdio.h>
#include <stdint.h>
#include <gpxe/pci.h>

Expand Down
1 change: 0 additions & 1 deletion src/interface/pxe/pxe_loader.c
Expand Up @@ -22,7 +22,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include <stdio.h>
#include "pxe.h"

/* PXENV_UNDI_LOADER
Expand Down
1 change: 0 additions & 1 deletion src/interface/pxe/pxe_tftp.c
Expand Up @@ -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,
Expand Down
1 change: 0 additions & 1 deletion src/interface/pxe/pxe_udp.c
Expand Up @@ -4,7 +4,6 @@
*
*/

#include <stdio.h>
#include <string.h>
#include <byteswap.h>
#include <gpxe/udp.h>
Expand Down
1 change: 0 additions & 1 deletion src/interface/pxe/pxe_undi.c
Expand Up @@ -22,7 +22,6 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include <stdio.h>
#include "pxe.h"

/* PXENV_UNDI_STARTUP
Expand Down
1 change: 0 additions & 1 deletion src/net/arp.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/net/icmpv6.c
@@ -1,4 +1,3 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
Expand Down
1 change: 0 additions & 1 deletion src/net/ndp.c
@@ -1,4 +1,3 @@
#include "stdio.h"
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
Expand Down
1 change: 0 additions & 1 deletion src/net/netdevice.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/net/retry.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/net/tcpip.c
@@ -1,4 +1,3 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <errno.h>
Expand Down
1 change: 0 additions & 1 deletion src/net/udp.c
@@ -1,4 +1,3 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
Expand Down
1 change: 0 additions & 1 deletion src/net/udp/dhcp.c
Expand Up @@ -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>
Expand Down
1 change: 0 additions & 1 deletion src/net/uip/uip.c
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/proto/nmb.c
@@ -1,4 +1,3 @@
#include "stdio.h"
#include "resolv.h"
#include "string.h"
#include "dns.h"
Expand Down

0 comments on commit 88e38fa

Please sign in to comment.