diff options
author | Will Newton <will.newton@linaro.org> | 2014-06-23 16:53:30 +0100 |
---|---|---|
committer | Will Newton <will.newton@linaro.org> | 2014-07-02 10:31:43 +0100 |
commit | b100f9aa77027e4371154820ea8a0353bfd13223 (patch) | |
tree | 136a8b897904c7ee3689fa3138aa4cb56d5f0e71 /io | |
parent | c4c4124473c187b5c4642611390897666c3d3970 (diff) | |
download | glibc-b100f9aa77027e4371154820ea8a0353bfd13223.zip glibc-b100f9aa77027e4371154820ea8a0353bfd13223.tar.gz glibc-b100f9aa77027e4371154820ea8a0353bfd13223.tar.bz2 |
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.
Diffstat (limited to 'io')
0 files changed, 0 insertions, 0 deletions