diff options
| -rw-r--r-- | src/crypto/chap.c | 1 | ||||
| -rw-r--r-- | src/drivers/bus/pci.c | 2 | ||||
| -rw-r--r-- | src/hci/readline.c | 2 | ||||
| -rw-r--r-- | src/net/dhcpopts.c | 2 | ||||
| -rw-r--r-- | src/net/netdevice.c | 2 |
5 files changed, 4 insertions, 5 deletions
diff --git a/src/crypto/chap.c b/src/crypto/chap.c index 6064a30a6..6bebaca5a 100644 --- a/src/crypto/chap.c +++ b/src/crypto/chap.c @@ -21,7 +21,6 @@ #include <string.h> #include <errno.h> #include <assert.h> -#include <malloc.h> #include <gpxe/crypto.h> #include <gpxe/chap.h> diff --git a/src/drivers/bus/pci.c b/src/drivers/bus/pci.c index 222f3eeab..2406b1307 100644 --- a/src/drivers/bus/pci.c +++ b/src/drivers/bus/pci.c @@ -20,9 +20,9 @@ */ #include <stdint.h> +#include <stdlib.h> #include <string.h> #include <errno.h> -#include <malloc.h> #include <gpxe/tables.h> #include <gpxe/device.h> #include <gpxe/pci.h> diff --git a/src/hci/readline.c b/src/hci/readline.c index a8cc455c3..14dbeafef 100644 --- a/src/hci/readline.c +++ b/src/hci/readline.c @@ -17,7 +17,7 @@ */ #include <string.h> -#include <malloc.h> +#include <stdlib.h> #include <console.h> #include <gpxe/editstring.h> #include <readline/readline.h> diff --git a/src/net/dhcpopts.c b/src/net/dhcpopts.c index e847c81d8..3013b669b 100644 --- a/src/net/dhcpopts.c +++ b/src/net/dhcpopts.c @@ -17,10 +17,10 @@ */ #include <stdint.h> +#include <stdlib.h> #include <byteswap.h> #include <errno.h> #include <string.h> -#include <malloc.h> #include <assert.h> #include <vsprintf.h> #include <gpxe/list.h> diff --git a/src/net/netdevice.c b/src/net/netdevice.c index 634977f7a..3f8e54bb1 100644 --- a/src/net/netdevice.c +++ b/src/net/netdevice.c @@ -17,10 +17,10 @@ */ #include <stdint.h> +#include <stdlib.h> #include <byteswap.h> #include <string.h> #include <errno.h> -#include <malloc.h> #include <gpxe/if_ether.h> #include <gpxe/pkbuff.h> #include <gpxe/tables.h> |
