mirror of
				https://github.com/xcat2/xNBA.git
				synced 2025-10-31 11:22:29 +00:00 
			
		
		
		
	Use stdlib.h for malloc() instead of malloc.h.
This commit is contained in:
		| @@ -21,7 +21,6 @@ | ||||
| #include <string.h> | ||||
| #include <errno.h> | ||||
| #include <assert.h> | ||||
| #include <malloc.h> | ||||
| #include <gpxe/crypto.h> | ||||
| #include <gpxe/chap.h> | ||||
|  | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -17,7 +17,7 @@ | ||||
|  */ | ||||
|  | ||||
| #include <string.h> | ||||
| #include <malloc.h> | ||||
| #include <stdlib.h> | ||||
| #include <console.h> | ||||
| #include <gpxe/editstring.h> | ||||
| #include <readline/readline.h> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
| @@ -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> | ||||
|   | ||||
		Reference in New Issue
	
	Block a user