summaryrefslogtreecommitdiff
path: root/include/stdlib.h
diff options
context:
space:
mode:
authorDavid Chisnall <theraven@FreeBSD.org>2011-11-20 14:45:42 +0000
committerDavid Chisnall <theraven@FreeBSD.org>2011-11-20 14:45:42 +0000
commit3c87aa1d3dc1d8dad3efad322852a8e1e76dee55 (patch)
tree909189922493cddbeeac84af2e316dc897661311 /include/stdlib.h
parent9e134d91bf553c39d4590a9e373837326c465758 (diff)
downloadsrc-test2-3c87aa1d3dc1d8dad3efad322852a8e1e76dee55.tar.gz
src-test2-3c87aa1d3dc1d8dad3efad322852a8e1e76dee55.zip
Notes
Diffstat (limited to 'include/stdlib.h')
-rw-r--r--include/stdlib.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/stdlib.h b/include/stdlib.h
index 3c48f1746f8e..3c26dfb0fcfb 100644
--- a/include/stdlib.h
+++ b/include/stdlib.h
@@ -71,10 +71,11 @@ typedef struct {
#define RAND_MAX 0x7fffffff
+__BEGIN_DECLS
extern int __mb_cur_max;
-#define MB_CUR_MAX __mb_cur_max
+extern int ___mb_cur_max(void);
+#define MB_CUR_MAX (___mb_cur_max())
-__BEGIN_DECLS
void abort(void) __dead2;
int abs(int) __pure2;
int atexit(void (*)(void));