diff options
author | Roland McGrath <roland@gnu.org> | 2004-09-07 21:35:45 +0000 |
---|---|---|
committer | Roland McGrath <roland@gnu.org> | 2004-09-07 21:35:45 +0000 |
commit | f75fe01b2be3cbf4071f07378251e27b4be167cf (patch) | |
tree | eecb5713a5878b3e983fefb3c573579960c38038 /libstore/store.h | |
parent | ac160178073f6eb3b85c0dd0f77eaa99ce4963cb (diff) | |
download | hurd-f75fe01b2be3cbf4071f07378251e27b4be167cf.tar.gz hurd-f75fe01b2be3cbf4071f07378251e27b4be167cf.tar.bz2 hurd-f75fe01b2be3cbf4071f07378251e27b4be167cf.zip |
2004-09-03 Alfred M. Szmidt <ams@kemisten.nu>
* store.h (__start_store_std_classes, __stop_store_std_classes):
Declare using __attribute__ ((weak)).
* typed.c (store_find_class): Removed `#pragma weak' for
`__stop_store_std_classes' and `__start_store_std_classes'.
Diffstat (limited to 'libstore/store.h')
-rw-r--r-- | libstore/store.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/libstore/store.h b/libstore/store.h index 9d9ee712..e6607237 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 Free Software Foundation, Inc. + Copyright (C) 1995,96,97,98,99,2001,02,04 Free Software Foundation, Inc. Written by Miles Bader <miles@gnu.org> This file is part of the GNU Hurd. @@ -630,8 +630,9 @@ extern const struct store_class store_mvol_class; __attribute__ ((unused, section ("store_std_classes"))) \ = { &store_##name##_class } -extern const struct store_class *const __start_store_std_classes[]; -extern const struct store_class *const __stop_store_std_classes[]; + +extern const struct store_class *const __start_store_std_classes[] __attribute__ ((weak)); +extern const struct store_class *const __stop_store_std_classes[] __attribute__ ((weak)); /* Used to hold the various bits that make up the representation of a store for transmission via rpc. See <hurd/hurd_types.h> for an explanation of |