Bläddra i källkod

Remove unneeded #include <malloc.h>
Patch by Ladislav Michl, 22 Feb 2005

Wolfgang Denk 19 år sedan
förälder
incheckning
31466294b0
7 ändrade filer med 3 tillägg och 6 borttagningar
  1. 3 0
      CHANGELOG
  2. 0 1
      common/env_dataflash.c
  3. 0 1
      common/env_eeprom.c
  4. 0 1
      common/env_nand.c
  5. 0 1
      common/env_nowhere.c
  6. 0 1
      common/env_nvram.c
  7. 0 1
      common/main.c

+ 3 - 0
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
 

+ 0 - 1
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;

+ 0 - 1
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;
 

+ 0 - 1
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))

+ 0 - 1
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;
 

+ 0 - 1
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);

+ 0 - 1
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>