http://git.etherboot.org
/
gpxe.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b613086
)
Use stdlib.h for malloc() instead of malloc.h.
author
Michael Brown
<mcb30@etherboot.org>
Tue, 19 Dec 2006 23:42:46 +0000
(23:42 +0000)
committer
Michael Brown
<mcb30@etherboot.org>
Tue, 19 Dec 2006 23:42:46 +0000
(23:42 +0000)
src/crypto/chap.c
patch
|
blob
|
history
src/drivers/bus/pci.c
patch
|
blob
|
history
src/hci/readline.c
patch
|
blob
|
history
src/net/dhcpopts.c
patch
|
blob
|
history
src/net/netdevice.c
patch
|
blob
|
history
diff --git
a/src/crypto/chap.c
b/src/crypto/chap.c
index
6064a30
..
6bebaca
100644
(file)
--- 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
222f3ee
..
2406b13
100644
(file)
--- 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
a8cc455
..
14dbeaf
100644
(file)
--- 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
e847c81
..
3013b66
100644
(file)
--- 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
634977f
..
3f8e54b
100644
(file)
--- 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>