summaryrefslogtreecommitdiff
path: root/include/malloc.h
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
committerDavid McCullough <davidm@snapgear.com>2001-07-11 13:47:45 +0000
commitce8ee8d9b401c9c2828df3457815c2f4ceed4900 (patch)
treefc27874f9403ddfd24357f56d87d6ffe08d8ae19 /include/malloc.h
parent5882811b88767f26c75913ca2b2fffd05595a7b5 (diff)
Added __BEGIN_DECLS and __END_DECLS to the files that didn't have
it and that I could see needed it. Should be pretty low impact as these are only defined when using C++.
Diffstat (limited to 'include/malloc.h')
-rw-r--r--include/malloc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/malloc.h b/include/malloc.h
index c35ffe459..7ef63d8c7 100644
--- a/include/malloc.h
+++ b/include/malloc.h
@@ -4,6 +4,8 @@
#include <features.h>
#include <sys/types.h>
+__BEGIN_DECLS
+
extern void free __P((void *));
extern void *malloc __P((size_t));
extern void *realloc __P((void *, size_t));
@@ -11,4 +13,6 @@ extern void *alloca __P((size_t));
extern void *(*__alloca_alloc) __P((size_t));
+__END_DECLS
+
#endif