summaryrefslogtreecommitdiff
path: root/include/malloc.h
diff options
context:
space:
mode:
authorJean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>2009-06-13 12:55:37 +0200
committerWolfgang Denk <wd@denx.de>2009-07-19 21:34:45 +0200
commit60a3f404acbf8238a3138fe1f80a6bac75da4582 (patch)
tree1d0347c5a9165fc891cbbfad98398458aedee8ab /include/malloc.h
parent7640f41988a456a0b1f05263d2e2dc5cd7d93984 (diff)
downloadu-boot-imx-60a3f404acbf8238a3138fe1f80a6bac75da4582.zip
u-boot-imx-60a3f404acbf8238a3138fe1f80a6bac75da4582.tar.gz
u-boot-imx-60a3f404acbf8238a3138fe1f80a6bac75da4582.tar.bz2
malloc.h: protect it against multiple include
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h5
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__ */