فهرست منبع

Fix compiler warning

Wolfgang Denk 19 سال پیش
والد
کامیت
d9631ecf52
2فایلهای تغییر یافته به همراه5 افزوده شده و 0 حذف شده
  1. 2 0
      CHANGELOG
  2. 3 0
      common/main.c

+ 2 - 0
CHANGELOG

@@ -2,6 +2,8 @@
 Changes for U-Boot 1.1.4:
 ======================================================================
 
+* Fix compiler warning
+
 * Fix FEC PHY addresses for TQM85xx boards
 
 * Fix uninitialized variable problem in hush shell

+ 3 - 0
common/main.c

@@ -26,6 +26,9 @@
 #include <common.h>
 #include <watchdog.h>
 #include <command.h>
+#ifdef CONFIG_MODEM_SUPPORT
+#include <malloc.h>		/* for free() prototype */
+#endif
 
 #ifdef CFG_HUSH_PARSER
 #include <hush.h>