Browse Source

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.
tags/v0.9.3
Michael Brown 18 years ago
parent
commit
88e38fa148

+ 0
- 1
src/arch/i386/core/load_buffer.c View File

@@ -1,4 +1,3 @@
1
-#include <stdio.h>
2 1
 #include "io.h"
3 2
 #include "load_buffer.h"
4 3
 

+ 0
- 1
src/arch/i386/core/relocate.c View File

@@ -1,4 +1,3 @@
1
-#include <stdio.h>
2 1
 #include <io.h>
3 2
 #include <registers.h>
4 3
 #include <memmap.h>

+ 0
- 1
src/arch/i386/firmware/pcbios/hidemem.c View File

@@ -15,7 +15,6 @@
15 15
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
16 16
  */
17 17
 
18
-#include <stdio.h>
19 18
 #include <realmode.h>
20 19
 #include <biosint.h>
21 20
 

+ 0
- 1
src/arch/i386/firmware/pcbios/memmap.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <stdint.h>
21 20
 #include <errno.h>
22 21
 #include <realmode.h>

+ 0
- 1
src/arch/i386/interface/pcbios/int13.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <stdint.h>
21 20
 #include <limits.h>
22 21
 #include <byteswap.h>

+ 0
- 1
src/arch/i386/interface/pxe/pxe_call.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <gpxe/uaccess.h>
21 20
 #include <registers.h>
22 21
 #include <biosint.h>

+ 0
- 1
src/core/buffer.c View File

@@ -38,7 +38,6 @@
38 38
  *
39 39
  */
40 40
 
41
-#include "stdio.h"
42 41
 #include "stddef.h"
43 42
 #include "string.h"
44 43
 #include "io.h"

+ 0
- 1
src/core/device.c View File

@@ -19,7 +19,6 @@
19 19
 #include <gpxe/list.h>
20 20
 #include <gpxe/tables.h>
21 21
 #include <gpxe/device.h>
22
-#include "stdio.h"
23 22
 
24 23
 /**
25 24
  * @file

+ 0
- 1
src/core/malloc.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <stddef.h>
21 20
 #include <stdint.h>
22 21
 #include <string.h>

+ 0
- 1
src/core/osloader.c View File

@@ -29,7 +29,6 @@ Modifications: Ken Yap (for Etherboot/16)
29 29
  * your option) any later version.
30 30
  */
31 31
 
32
-#include "stdio.h"
33 32
 #include "io.h"
34 33
 #include "memsizes.h"
35 34
 

+ 0
- 1
src/core/resolv.c View File

@@ -1,5 +1,4 @@
1 1
 #include "resolv.h"
2
-#include "stdio.h"
3 2
 
4 3
 static struct resolver resolvers[0] __table_start(resolver);
5 4
 static struct resolver resolvers_end[0] __table_end(resolver);

+ 0
- 1
src/crypto/framework.c View File

@@ -1,7 +1,6 @@
1 1
 /* mcb - this file breaks the build process; temporarily deactivating */
2 2
 #if 0
3 3
 
4
-#include <stdio.h>
5 4
 #include <stdlib.h>
6 5
 #include <sys/types.h>
7 6
 #include <sys/socket.h>

+ 0
- 1
src/crypto/ssl.c View File

@@ -1,4 +1,3 @@
1
-#include <stdio.h>
2 1
 #include "ssl.h"
3 2
 #include "ssl_constructs.h"
4 3
 #include <string.h> // for bcopy()

+ 0
- 1
src/drivers/bitbash/i2c_bit.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <stddef.h>
21 20
 #include <stdint.h>
22 21
 #include <errno.h>

+ 0
- 1
src/drivers/bitbash/spi_bit.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <stddef.h>
21 20
 #include <stdint.h>
22 21
 #include <string.h>

+ 0
- 1
src/drivers/block/ata.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <stddef.h>
21 20
 #include <string.h>
22 21
 #include <assert.h>

+ 0
- 1
src/drivers/bus/pci.c View File

@@ -19,7 +19,6 @@
19 19
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
20 20
  */
21 21
 
22
-#include <stdio.h>
23 22
 #include <stdint.h>
24 23
 #include <string.h>
25 24
 #include <errno.h>

+ 0
- 1
src/drivers/bus/pciextra.c View File

@@ -1,4 +1,3 @@
1
-#include <stdio.h>
2 1
 #include <stdint.h>
3 2
 #include <gpxe/pci.h>
4 3
 

+ 0
- 1
src/interface/pxe/pxe_loader.c View File

@@ -22,7 +22,6 @@
22 22
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 23
  */
24 24
 
25
-#include <stdio.h>
26 25
 #include "pxe.h"
27 26
 
28 27
 /* PXENV_UNDI_LOADER

+ 0
- 1
src/interface/pxe/pxe_tftp.c View File

@@ -22,7 +22,6 @@
22 22
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 23
  */
24 24
 
25
-#include <stdio.h>
26 25
 #include "pxe.h"
27 26
 
28 27
 static int pxe_tftp_read_block ( unsigned char *data, unsigned int block,

+ 0
- 1
src/interface/pxe/pxe_udp.c View File

@@ -4,7 +4,6 @@
4 4
  *
5 5
  */
6 6
 
7
-#include <stdio.h>
8 7
 #include <string.h>
9 8
 #include <byteswap.h>
10 9
 #include <gpxe/udp.h>

+ 0
- 1
src/interface/pxe/pxe_undi.c View File

@@ -22,7 +22,6 @@
22 22
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
23 23
  */
24 24
 
25
-#include <stdio.h>
26 25
 #include "pxe.h"
27 26
 
28 27
 /* PXENV_UNDI_STARTUP

+ 0
- 1
src/net/arp.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include "stdio.h"
20 19
 #include <stdint.h>
21 20
 #include <string.h>
22 21
 #include <byteswap.h>

+ 0
- 1
src/net/icmpv6.c View File

@@ -1,4 +1,3 @@
1
-#include <stdio.h>
2 1
 #include <stdint.h>
3 2
 #include <string.h>
4 3
 #include <byteswap.h>

+ 0
- 1
src/net/ndp.c View File

@@ -1,4 +1,3 @@
1
-#include "stdio.h"
2 1
 #include <stdint.h>
3 2
 #include <string.h>
4 3
 #include <byteswap.h>

+ 0
- 1
src/net/netdevice.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <stdint.h>
21 20
 #include <byteswap.h>
22 21
 #include <string.h>

+ 0
- 1
src/net/retry.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <stddef.h>
21 20
 #include <latch.h>
22 21
 #include <gpxe/list.h>

+ 0
- 1
src/net/tcpip.c View File

@@ -1,4 +1,3 @@
1
-#include <stdio.h>
2 1
 #include <stdint.h>
3 2
 #include <string.h>
4 3
 #include <errno.h>

+ 0
- 1
src/net/udp.c View File

@@ -1,4 +1,3 @@
1
-#include <stdio.h>
2 1
 #include <stdint.h>
3 2
 #include <string.h>
4 3
 #include <assert.h>

+ 0
- 1
src/net/udp/dhcp.c View File

@@ -16,7 +16,6 @@
16 16
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
17 17
  */
18 18
 
19
-#include <stdio.h>
20 19
 #include <string.h>
21 20
 #include <errno.h>
22 21
 #include <assert.h>

+ 0
- 1
src/net/uip/uip.c View File

@@ -168,7 +168,6 @@ struct uip_stats uip_stat;
168 168
 #endif /* UIP_STATISTICS == 1 */
169 169
 
170 170
 #if UIP_LOGGING == 1
171
-#include <stdio.h>
172 171
 void uip_log(char *msg);
173 172
 #define UIP_LOG(m) uip_log(m)
174 173
 #else

+ 0
- 1
src/proto/nmb.c View File

@@ -1,4 +1,3 @@
1
-#include "stdio.h"
2 1
 #include "resolv.h"
3 2
 #include "string.h"
4 3
 #include "dns.h"

Loading…
Cancel
Save