projects
/
oweals
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7640f41
)
malloc.h: protect it against multiple include
author
Jean-Christophe PLAGNIOL-VILLARD
<plagnioj@jcrosoft.com>
Sat, 13 Jun 2009 10:55:37 +0000
(12:55 +0200)
committer
Wolfgang Denk
<wd@denx.de>
Sun, 19 Jul 2009 19:34:45 +0000
(21:34 +0200)
Signed-off-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
include/malloc.h
patch
|
blob
|
history
diff --git
a/include/malloc.h
b/include/malloc.h
index 47154b0783f9dc173d9c0ec8183d916c3246e5c6..a38464e62915c05362179d14e9381e2174f5babb 100644
(file)
--- a/
include/malloc.h
+++ b/
include/malloc.h
@@
-216,7
+216,8
@@
*/
\f
-
+#ifndef __MALLOC_H__
+#define __MALLOC_H__
/* Preliminaries */
@@
-940,3
+941,5
@@
struct mallinfo mALLINFo();
#ifdef __cplusplus
}; /* end of extern "C" */
#endif
+
+#endif /* __MALLOC_H__ */