aboutsummaryrefslogtreecommitdiff
path: root/ChangeLog
diff options
context:
space:
mode:
authorWill Newton <will.newton@linaro.org>2014-06-23 16:53:30 +0100
committerWill Newton <will.newton@linaro.org>2014-07-02 10:31:43 +0100
commitb100f9aa77027e4371154820ea8a0353bfd13223 (patch)
tree136a8b897904c7ee3689fa3138aa4cb56d5f0e71 /ChangeLog
parentc4c4124473c187b5c4642611390897666c3d3970 (diff)
downloadglibc-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 'ChangeLog')
-rw-r--r--ChangeLog19
1 files changed, 19 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 934c47c..986210c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,23 @@
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 Will Newton <will.newton@linaro.org>
Paul Eggert <eggert@cs.ucla.edu>
* misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.