]> granicus.if.org Git - gc/commit
Suppress false 'unused argument' warnings for GCC v3
authorIvan Maidanski <ivmai@mail.ru>
Mon, 27 Feb 2012 04:37:12 +0000 (08:37 +0400)
committerIvan Maidanski <ivmai@mail.ru>
Mon, 27 Feb 2012 14:06:58 +0000 (18:06 +0400)
commitda8cf493af4e355e8f4bf1344d49407f4176fdc6
tree1758e18102b774dac9ad95e5a593f73f45349a5d
parente3bfd10510d1c33736165295853df7f125f57a17
Suppress false 'unused argument' warnings for GCC v3

* cord/cordxtra.c (CORD_ATTR_UNUSED): Use 'unused' attribute starting
from GCC v3.4 (instead of v4.0).
* include/private/gc_priv.h (GC_ATTR_UNUSED): Likewise.
cord/cordxtra.c
include/private/gc_priv.h