summaryrefslogtreecommitdiffstats
path: root/src/drivers
diff options
context:
space:
mode:
authorMichael Brown2006-09-27 12:58:14 +0200
committerMichael Brown2006-09-27 12:58:14 +0200
commit88e38fa1483891f273f063f92ef71a5c33fe5406 (patch)
treec62007eae5dddf82b2b90e154ae0e4f400d6b09c /src/drivers
parentadded stdio.h to includes for DBG compilation (diff)
downloadipxe-88e38fa1483891f273f063f92ef71a5c33fe5406.tar.gz
ipxe-88e38fa1483891f273f063f92ef71a5c33fe5406.tar.xz
ipxe-88e38fa1483891f273f063f92ef71a5c33fe5406.zip
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.
Diffstat (limited to 'src/drivers')
-rw-r--r--src/drivers/bitbash/i2c_bit.c1
-rw-r--r--src/drivers/bitbash/spi_bit.c1
-rw-r--r--src/drivers/block/ata.c1
-rw-r--r--src/drivers/bus/pci.c1
-rw-r--r--src/drivers/bus/pciextra.c1
5 files changed, 0 insertions, 5 deletions
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>