[U-Boot] [PATCH 1/1] malloc.h: protect it against multiple include
Jean-Christophe PLAGNIOL-VILLARD
plagnioj at jcrosoft.com
Sat Jun 13 12:55:37 CEST 2009
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj at jcrosoft.com>
---
include/malloc.h | 5 ++++-
1 files changed, 4 insertions(+), 1 deletions(-)
diff --git a/include/malloc.h b/include/malloc.h
index 47154b0..a38464e 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -216,7 +216,8 @@
*/
-
+#ifndef __MALLOC_H__
+#define __MALLOC_H__
/* Preliminaries */
@@ -940,3 +941,5 @@ struct mallinfo mALLINFo();
#ifdef __cplusplus
}; /* end of extern "C" */
#endif
+
+#endif /* __MALLOC_H__ */
--
1.6.3.1
More information about the U-Boot
mailing list