diff --git a/CHANGELOG b/CHANGELOG index 7009ce74b6bfca4024a57f3dcd5e03511a14ef88..659c956bfce4d7aa59de08e212d82a7ae49616c5 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -2,6 +2,9 @@ Changes for U-Boot 1.1.4: ====================================================================== +* Remove unneeded #include <malloc.h> + Patch by Ladislav Michl, 22 Feb 2005 + * Add cramfs support for m68k Patch by Zachary Landau, 21 Feb 2005 diff --git a/common/env_dataflash.c b/common/env_dataflash.c index 8bfbbc943e138c968a6d79110690a605f18c2cbb..8834da032bdd82f5b78acf51d772e9972057a1a4 100644 --- a/common/env_dataflash.c +++ b/common/env_dataflash.c @@ -24,7 +24,6 @@ #include <command.h> #include <environment.h> #include <linux/stddef.h> -#include <malloc.h> #include <dataflash.h> env_t *env_ptr = NULL; diff --git a/common/env_eeprom.c b/common/env_eeprom.c index 300af6fcfe1afc943dd7c02e06813f574f4f0a7f..50c623e37e32b89b4bbe9f4bab1ba95f3017b059 100644 --- a/common/env_eeprom.c +++ b/common/env_eeprom.c @@ -31,7 +31,6 @@ #include <command.h> #include <environment.h> #include <linux/stddef.h> -#include <malloc.h> env_t *env_ptr = NULL; diff --git a/common/env_nand.c b/common/env_nand.c index 516aed7326dc47da821deff310a8c54807b46bca..60aba1e7e667ee8137b2ce61611c2e038fd92c8e 100644 --- a/common/env_nand.c +++ b/common/env_nand.c @@ -36,7 +36,6 @@ #include <command.h> #include <environment.h> #include <linux/stddef.h> -#include <malloc.h> #include <linux/mtd/nand.h> #if ((CONFIG_COMMANDS&(CFG_CMD_ENV|CFG_CMD_NAND)) == (CFG_CMD_ENV|CFG_CMD_NAND)) diff --git a/common/env_nowhere.c b/common/env_nowhere.c index b274c0355747d6669257a424576bd2fc42f062de..ee4237c7e906889fe6833baab2d8425a04b6d79d 100644 --- a/common/env_nowhere.c +++ b/common/env_nowhere.c @@ -31,7 +31,6 @@ #include <command.h> #include <environment.h> #include <linux/stddef.h> -#include <malloc.h> env_t *env_ptr = NULL; diff --git a/common/env_nvram.c b/common/env_nvram.c index 2c831d14d774b63a3609dfab8a9c466cfe2055f9..a406e427a24e871f9ace82901483b434afd58272 100644 --- a/common/env_nvram.c +++ b/common/env_nvram.c @@ -47,7 +47,6 @@ #include <command.h> #include <environment.h> #include <linux/stddef.h> -#include <malloc.h> #ifdef CFG_NVRAM_ACCESS_ROUTINE extern void *nvram_read(void *dest, const long src, size_t count); diff --git a/common/main.c b/common/main.c index 9f649dbcd31222b8850317270bd74e300828a3e4..29226244a1af4afa4af92ade7ce5a3a2446719a2 100644 --- a/common/main.c +++ b/common/main.c @@ -26,7 +26,6 @@ #include <common.h> #include <watchdog.h> #include <command.h> -#include <malloc.h> #ifdef CFG_HUSH_PARSER #include <hush.h>