From 70d0d5230273ec2fa5acb4297e74437ece06bcac Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Sun, 25 Sep 2005 00:38:07 +0000 Subject: 2005-09-24 Roland McGrath * store.h (STORE_STD_CLASS): Use __attribute_used__ macro instead of `unused' attribute. --- libstore/store.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'libstore') diff --git a/libstore/store.h b/libstore/store.h index e6607237..5b48504c 100644 --- a/libstore/store.h +++ b/libstore/store.h @@ -1,6 +1,6 @@ /* Store I/O - Copyright (C) 1995,96,97,98,99,2001,02,04 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,98,99,2001,02,04,05 Free Software Foundation, Inc. Written by Miles Bader This file is part of the GNU Hurd. @@ -627,7 +627,7 @@ extern const struct store_class store_mvol_class; #define STORE_STD_CLASS(name) \ static const struct store_class *const store_std_classes_##name[] \ - __attribute__ ((unused, section ("store_std_classes"))) \ + __attribute_used__ __attribute__ ((section ("store_std_classes"))) \ = { &store_##name##_class } -- cgit v1.2.3