glibc/malloc
Will Newton b100f9aa77 malloc/obstack: Merge from gnulib
Merge the latest version of the obstack.c and obstack.h files
from gnulib. The majority of this change is coding style and
cosmetic comment changes but it also fixes a -Wundef warning
in the build as a side effect.

2014-07-02  Will Newton  <will.newton@linaro.org>

	* malloc/obstack.c: Merge from gnulib master.
	[HAVE_CONFIG_H]: Remove conditional code.
	[!_LIBC]: Include config.h.
	[!ELIDE_CODE]: Don't include inttypes.h, include
	stdint.h unconditionally.
	(print_and_abort): Mark as _Noreturn.
	(_obstack_allocated_p): Mark as __attribute_pure__.
	(obstack_free): Rename to __obstack_free.
	[!__attribute__]: Remove conditional code.
	* malloc/obstack.h: Merge from gnulib master.
	[__cplusplus]: Move conditional down.
	[!__attribute_pure__]: Define __attribute_pure__ here
	if it is not already defined.
	(_obstack_memory_used): Mark as __attribute_pure__.
	[!__obstack_free]: Define as obstack_free.
	[__GNUC__]: Remove check for ancient NeXT gcc.
2014-07-02 10:31:43 +01:00
..
arena.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
Depend Update. 1999-10-04 22:59:43 +00:00
hooks.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
Makefile Don't require test wrappers to preserve environment variables, use more consistent environment. 2014-06-06 22:19:27 +00:00
malloc.c malloc/malloc.c: Avoid calling sbrk unnecessarily with zero 2014-06-19 14:34:08 +01:00
malloc.h Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mallocbug.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mcheck-init.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
mcheck.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mcheck.h Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
memusage.c Use glibc_likely instead __builtin_expect. 2014-02-10 15:07:12 +01:00
memusage.sh Update remaining copyright dates 2014-01-01 22:02:55 +10:00
memusagestat.c Fix gettext call formatting 2014-01-05 17:39:45 +10:00
morecore.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
mtrace.c malloc/mtrace.c: Cosmetic cleanup. 2014-02-11 10:02:57 +00:00
mtrace.pl Update remaining copyright dates 2014-01-01 22:02:55 +10:00
obstack.c malloc/obstack: Merge from gnulib 2014-07-02 10:31:43 +01:00
obstack.h malloc/obstack: Merge from gnulib 2014-07-02 10:31:43 +01:00
set-freeres.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
thread-freeres.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-calloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-malloc-usable.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-malloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-mallocfork.c * malloc/tst-mallocfork.c (do_test): Make sure sa_flags is 2005-12-06 00:50:15 +00:00
tst-mallocstate.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
tst-mallopt.c malloc: Add mallopt test. 2014-05-12 12:48:41 +01:00
tst-mcheck.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-memalign.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-mtrace.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
tst-mtrace.sh Don't require test wrappers to preserve environment variables, use more consistent environment. 2014-06-06 22:19:27 +00:00
tst-obstack.c Update. 2000-11-20 17:40:29 +00:00
tst-posix_memalign.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-pvalloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
tst-realloc.c Reformat malloc to gnu style. 2014-01-02 09:40:10 +01:00
tst-trim1.c * malloc/tst-trim1.c: New file. 2007-12-16 22:57:57 +00:00
tst-valloc.c Update copyright notices with scripts/update-copyrights 2014-01-01 22:00:23 +10:00
Versions Implement aligned_alloc 2012-01-01 07:17:21 -05:00