summaryrefslogtreecommitdiff
path: root/libstore/store.h
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2005-09-25 00:38:07 +0000
committerRoland McGrath <roland@gnu.org>2005-09-25 00:38:07 +0000
commit70d0d5230273ec2fa5acb4297e74437ece06bcac (patch)
tree3c8ed5b90d2d5f3c672ad691721b64cccb3c3528 /libstore/store.h
parent50f67f1c3ae5bb8e42fe839e6a6a9cb813a90c53 (diff)
2005-09-24 Roland McGrath <roland@frob.com>
* store.h (STORE_STD_CLASS): Use __attribute_used__ macro instead of `unused' attribute.
Diffstat (limited to 'libstore/store.h')
-rw-r--r--libstore/store.h4
1 files changed, 2 insertions, 2 deletions
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 <miles@gnu.org>
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 }