summaryrefslogtreecommitdiff
path: root/include/stdlib.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/stdlib.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/stdlib.h')
-rw-r--r--include/stdlib.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index cdb3e8fee..e5588cb3b 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -6,6 +6,8 @@
#include <sys/types.h>
#include <limits.h>
+__BEGIN_DECLS
+
/* Don't overwrite user definitions of NULL */
#ifndef NULL
#define NULL ((void *) 0)
@@ -121,5 +123,6 @@ extern ldiv_t ldiv __P ((long int __numer, long int __denom)) __attribute__ ((__
extern char *mktemp __P ((char *__template));
extern int mkstemp __P ((char *__template));
+__END_DECLS
#endif /* __STDLIB_H */