]> gcc.gnu.org Git - gcc.git/commit
Modify obstack.[hc] to avoid having to include other gnulib files
authorAlan Modra <amodra@gmail.com>
Mon, 9 Nov 2015 04:28:21 +0000 (14:58 +1030)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 9 Nov 2015 04:28:21 +0000 (14:58 +1030)
commitf0e525fe184ae711b4bbb37b9728776938b703de
tree682bf1ffda298891ad7163b4f5f8b0e4aadb0a24
parentc9f265c94502ff2a751e9dfb78b718975c0cac0c
Modify obstack.[hc] to avoid having to include other gnulib files

Using the standard gnulib obstack source requires importing quite a
lot of other files from gnulib, and requires build changes.

include/
* obstack.h (__attribute_pure__): Expand _GL_ATTRIBUTE_PURE.
libiberty/
* obstack.c (__alignof__): Expand alignof_type from alignof.h.
(obstack_exit_failure): Don't use exitfail.h.
(_): Include libintl.h when HAVE_LIBINTL_H and nls enabled.
Provide default.  Don't include gettext.h.
(_Noreturn): Define.
* obstacks.texi: Adjust node references to external libc info files.

From-SVN: r229988
include/ChangeLog
include/obstack.h
libiberty/ChangeLog
libiberty/obstack.c
libiberty/obstacks.texi
This page took 0.055938 seconds and 5 git commands to generate.