Skip to content

Commit

Permalink
added stdio.h to includes for DBG compilation
Browse files Browse the repository at this point in the history
  • Loading branch information
Marty Connor committed Sep 27, 2006
1 parent 1da4faa commit 6ac78f6
Show file tree
Hide file tree
Showing 27 changed files with 32 additions and 4 deletions.
1 change: 1 addition & 0 deletions src/arch/i386/core/load_buffer.c
@@ -1,3 +1,4 @@
#include <stdio.h>
#include "io.h"
#include "load_buffer.h"

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

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

Expand Down
1 change: 1 addition & 0 deletions src/arch/i386/firmware/pcbios/memmap.c
Expand Up @@ -16,6 +16,7 @@
* 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: 1 addition & 0 deletions src/arch/i386/interface/pcbios/int13.c
Expand Up @@ -16,6 +16,7 @@
* 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: 1 addition & 0 deletions src/arch/i386/interface/pxe/pxe_call.c
Expand Up @@ -16,6 +16,7 @@
* 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: 1 addition & 0 deletions src/core/resolv.c
@@ -1,4 +1,5 @@
#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: 1 addition & 0 deletions src/crypto/ssl.c
@@ -1,3 +1,4 @@
#include <stdio.h>
#include "ssl.h"
#include "ssl_constructs.h"
#include <string.h> // for bcopy()
Expand Down
2 changes: 2 additions & 0 deletions src/drivers/bitbash/i2c_bit.c
Expand Up @@ -16,10 +16,12 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include <stdio.h>
#include <stddef.h>
#include <stdint.h>
#include <errno.h>
#include <assert.h>
#include <timer.h>
#include <gpxe/bitbash.h>
#include <gpxe/i2c.h>

Expand Down
1 change: 1 addition & 0 deletions src/drivers/bitbash/spi_bit.c
Expand Up @@ -16,6 +16,7 @@
* 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: 1 addition & 0 deletions src/drivers/block/ata.c
Expand Up @@ -16,6 +16,7 @@
* 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: 1 addition & 0 deletions src/drivers/bus/pci.c
Expand Up @@ -19,6 +19,7 @@
* 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: 1 addition & 0 deletions src/drivers/bus/pciextra.c
@@ -1,3 +1,4 @@
#include <stdio.h>
#include <stdint.h>
#include <gpxe/pci.h>

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

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

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

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

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

/* PXENV_UNDI_STARTUP
Expand Down
1 change: 1 addition & 0 deletions src/net/arp.c
Expand Up @@ -16,6 +16,7 @@
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/

#include "stdio.h"
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
Expand Down
5 changes: 3 additions & 2 deletions src/net/icmpv6.c
@@ -1,3 +1,4 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
Expand All @@ -23,7 +24,7 @@ struct tcpip_protocol icmp6_protocol;
* This function prepares a neighbour solicitation packet and sends it to the
* network layer.
*/
int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src,
int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src __unused,
struct in6_addr *dest ) {
union {
struct sockaddr_in6 sin6;
Expand Down Expand Up @@ -60,7 +61,7 @@ int icmp6_send_solicit ( struct net_device *netdev, struct in6_addr *src,
st_dest.sin6.sin6_addr.in6_u.u6_addr8[13] = 0xff;

/* Send packet over IP6 */
tcpip_tx ( pkb, &icmp6_protocol, &st_dest.st );
return ( tcpip_tx ( pkb, &icmp6_protocol, &st_dest.st ) );
}

/**
Expand Down
5 changes: 3 additions & 2 deletions src/net/ndp.c
@@ -1,3 +1,4 @@
#include "stdio.h"
#include <stdint.h>
#include <string.h>
#include <byteswap.h>
Expand Down Expand Up @@ -147,8 +148,8 @@ int ndp_resolve ( struct net_device *netdev, struct in6_addr *dest,
* @v st_src Source address
* @v st_dest Destination address
*/
int ndp_process_advert ( struct pk_buff *pkb, struct sockaddr_tcpip *st_src,
struct sockaddr_tcpip *st_dest ) {
int ndp_process_advert ( struct pk_buff *pkb, struct sockaddr_tcpip *st_src __unused,
struct sockaddr_tcpip *st_dest __unused ) {
struct neighbour_advert *nadvert = pkb->data;
struct ndp_entry *ndp;

Expand Down
1 change: 1 addition & 0 deletions src/net/netdevice.c
Expand Up @@ -16,6 +16,7 @@
* 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: 1 addition & 0 deletions src/net/retry.c
Expand Up @@ -16,6 +16,7 @@
* 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: 1 addition & 0 deletions src/net/tcp.c
@@ -1,3 +1,4 @@
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
Expand Down
1 change: 1 addition & 0 deletions src/net/tcpip.c
@@ -1,3 +1,4 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <errno.h>
Expand Down
1 change: 1 addition & 0 deletions src/net/udp.c
@@ -1,3 +1,4 @@
#include <stdio.h>
#include <stdint.h>
#include <string.h>
#include <assert.h>
Expand Down
1 change: 1 addition & 0 deletions src/net/udp/dhcp.c
Expand Up @@ -16,6 +16,7 @@
* 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: 1 addition & 0 deletions src/proto/nmb.c
@@ -1,3 +1,4 @@
#include "stdio.h"
#include "resolv.h"
#include "string.h"
#include "dns.h"
Expand Down

0 comments on commit 6ac78f6

Please sign in to comment.