]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Do not define-away __attribute__ when __STRICT_ANSI__ is set.
authorJim Meyering <meyering@redhat.com>
Thu, 17 Jan 2008 09:20:24 +0000 (10:20 +0100)
committerJim Meyering <meyering@redhat.com>
Thu, 17 Jan 2008 09:53:44 +0000 (10:53 +0100)
commit27d1636b332084227ca81efced5b90cbe01a1310
treee6209ee077f8fd343660ef2839bcc8ce9ac7cc21
parent0702758ca464da65b4333d63665f104de88b00b4
Do not define-away __attribute__ when __STRICT_ANSI__ is set.

* src/system.h (__attribute__): Remove the __STRICT_ANSI__ disjunct.
It has been unnecessary since approximately gcc-2.6, and now, leaving
it would cause gcc -Werror -ansi to fail to compile csplit.c.
* gl/lib/randread.c (__attribute__): Likewise.
ChangeLog
gl/lib/randread.c
src/system.h