diff options
author | Ulrich Drepper <drepper@gmail.com> | 2011-05-15 00:34:48 -0400 |
---|---|---|
committer | Ulrich Drepper <drepper@gmail.com> | 2011-05-15 00:34:48 -0400 |
commit | f8a3b5bf8fa1d0c43d2458e03cc109a04fdef194 (patch) | |
tree | c92e262e52b730a8bd4bc3505f46ded142b7cebd /include/stdlib.h | |
parent | fc317541ab359b33ed7bf402ead84ba6f112604c (diff) | |
download | glibc-f8a3b5bf8fa1d0c43d2458e03cc109a04fdef194.tar.gz glibc-f8a3b5bf8fa1d0c43d2458e03cc109a04fdef194.tar.xz glibc-f8a3b5bf8fa1d0c43d2458e03cc109a04fdef194.zip |
Use mmap for allocation of buffers used for __abort_msg
Diffstat (limited to 'include/stdlib.h')
-rw-r--r-- | include/stdlib.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index b4799d7d04..816f8ffc2e 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -223,16 +223,21 @@ extern int __qfcvt_r (long double __value, int __ndigit, # define __cxa_atexit(func, arg, d) INTUSE(__cxa_atexit) (func, arg, d) # endif -#endif - extern void *__default_morecore (ptrdiff_t) __THROW; libc_hidden_proto (__default_morecore) -extern char *__abort_msg; +struct abort_msg_s +{ + unsigned int size; + char msg[0]; +}; +extern struct abort_msg_s *__abort_msg; libc_hidden_proto (__abort_msg) __END_DECLS +#endif + #undef __Need_M_And_C #endif /* include/stdlib.h */ |