mirror of
				https://github.com/xcat2/xNBA.git
				synced 2025-10-31 11:22:29 +00:00 
			
		
		
		
	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.
This commit is contained in:
		| @@ -1,4 +1,3 @@ | ||||
| #include <stdio.h> | ||||
| #include "io.h" | ||||
| #include "load_buffer.h" | ||||
|  | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| #include <stdio.h> | ||||
| #include <io.h> | ||||
| #include <registers.h> | ||||
| #include <memmap.h> | ||||
|   | ||||
| @@ -15,7 +15,6 @@ | ||||
|  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||||
|  */ | ||||
|  | ||||
| #include <stdio.h> | ||||
| #include <realmode.h> | ||||
| #include <biosint.h> | ||||
|  | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -38,7 +38,6 @@ | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include "stdio.h" | ||||
| #include "stddef.h" | ||||
| #include "string.h" | ||||
| #include "io.h" | ||||
|   | ||||
| @@ -19,7 +19,6 @@ | ||||
| #include <gpxe/list.h> | ||||
| #include <gpxe/tables.h> | ||||
| #include <gpxe/device.h> | ||||
| #include "stdio.h" | ||||
|  | ||||
| /** | ||||
|  * @file | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -29,7 +29,6 @@ Modifications: Ken Yap (for Etherboot/16) | ||||
|  * your option) any later version. | ||||
|  */ | ||||
|  | ||||
| #include "stdio.h" | ||||
| #include "io.h" | ||||
| #include "memsizes.h" | ||||
|  | ||||
|   | ||||
| @@ -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); | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| #include <stdio.h> | ||||
| #include "ssl.h" | ||||
| #include "ssl_constructs.h" | ||||
| #include <string.h> // for bcopy() | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdint.h> | ||||
| #include <gpxe/pci.h> | ||||
|  | ||||
|   | ||||
| @@ -22,7 +22,6 @@ | ||||
|  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||||
|  */ | ||||
|  | ||||
| #include <stdio.h> | ||||
| #include "pxe.h" | ||||
|  | ||||
| /* PXENV_UNDI_LOADER | ||||
|   | ||||
| @@ -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, | ||||
|   | ||||
| @@ -4,7 +4,6 @@ | ||||
|  * | ||||
|  */ | ||||
|  | ||||
| #include <stdio.h> | ||||
| #include <string.h> | ||||
| #include <byteswap.h> | ||||
| #include <gpxe/udp.h> | ||||
|   | ||||
| @@ -22,7 +22,6 @@ | ||||
|  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. | ||||
|  */ | ||||
|  | ||||
| #include <stdio.h> | ||||
| #include "pxe.h" | ||||
|  | ||||
| /* PXENV_UNDI_STARTUP | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdint.h> | ||||
| #include <string.h> | ||||
| #include <byteswap.h> | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| #include "stdio.h" | ||||
| #include <stdint.h> | ||||
| #include <string.h> | ||||
| #include <byteswap.h> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdint.h> | ||||
| #include <string.h> | ||||
| #include <errno.h> | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| #include <stdio.h> | ||||
| #include <stdint.h> | ||||
| #include <string.h> | ||||
| #include <assert.h> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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 | ||||
|   | ||||
| @@ -1,4 +1,3 @@ | ||||
| #include "stdio.h" | ||||
| #include "resolv.h" | ||||
| #include "string.h" | ||||
| #include "dns.h" | ||||
|   | ||||
		Reference in New Issue
	
	Block a user