Commit 31466294b0c4ff372288229b0997de51f8ecaf3f

Authored by Wolfgang Denk
1 parent b66eb5282d

Remove unneeded #include <malloc.h>

Patch by Ladislav Michl, 22 Feb 2005

Showing 7 changed files with 3 additions and 6 deletions Side-by-side Diff

... ... @@ -2,6 +2,9 @@
2 2 Changes for U-Boot 1.1.4:
3 3 ======================================================================
4 4  
  5 +* Remove unneeded #include <malloc.h>
  6 + Patch by Ladislav Michl, 22 Feb 2005
  7 +
5 8 * Add cramfs support for m68k
6 9 Patch by Zachary Landau, 21 Feb 2005
7 10  
common/env_dataflash.c
... ... @@ -24,7 +24,6 @@
24 24 #include <command.h>
25 25 #include <environment.h>
26 26 #include <linux/stddef.h>
27   -#include <malloc.h>
28 27 #include <dataflash.h>
29 28  
30 29 env_t *env_ptr = NULL;
... ... @@ -31,7 +31,6 @@
31 31 #include <command.h>
32 32 #include <environment.h>
33 33 #include <linux/stddef.h>
34   -#include <malloc.h>
35 34  
36 35 env_t *env_ptr = NULL;
37 36  
... ... @@ -36,7 +36,6 @@
36 36 #include <command.h>
37 37 #include <environment.h>
38 38 #include <linux/stddef.h>
39   -#include <malloc.h>
40 39 #include <linux/mtd/nand.h>
41 40  
42 41 #if ((CONFIG_COMMANDS&(CFG_CMD_ENV|CFG_CMD_NAND)) == (CFG_CMD_ENV|CFG_CMD_NAND))
common/env_nowhere.c
... ... @@ -31,7 +31,6 @@
31 31 #include <command.h>
32 32 #include <environment.h>
33 33 #include <linux/stddef.h>
34   -#include <malloc.h>
35 34  
36 35 env_t *env_ptr = NULL;
37 36  
... ... @@ -47,7 +47,6 @@
47 47 #include <command.h>
48 48 #include <environment.h>
49 49 #include <linux/stddef.h>
50   -#include <malloc.h>
51 50  
52 51 #ifdef CFG_NVRAM_ACCESS_ROUTINE
53 52 extern void *nvram_read(void *dest, const long src, size_t count);
... ... @@ -26,7 +26,6 @@
26 26 #include <common.h>
27 27 #include <watchdog.h>
28 28 #include <command.h>
29   -#include <malloc.h>
30 29  
31 30 #ifdef CFG_HUSH_PARSER
32 31 #include <hush.h>