diff options
author | Ulrich Drepper <drepper@redhat.com> | 2002-08-25 09:44:37 +0000 |
---|---|---|
committer | Ulrich Drepper <drepper@redhat.com> | 2002-08-25 09:44:37 +0000 |
commit | b65d9522d44268c81adcd750bcaa574210668edc (patch) | |
tree | 806f8ffd9b757c9fdf847e72ae58eea40547d940 | |
parent | 9df89390022a1144afffc1a0092f2b45367b17e2 (diff) | |
download | glibc-b65d9522d44268c81adcd750bcaa574210668edc.zip glibc-b65d9522d44268c81adcd750bcaa574210668edc.tar.gz glibc-b65d9522d44268c81adcd750bcaa574210668edc.tar.bz2 |
Update.
* sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static
inline to avoid defining it in every file which includes this header.
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | sysdeps/generic/dl-cache.h | 2 |
2 files changed, 4 insertions, 1 deletions
@@ -1,5 +1,8 @@ 2002-08-25 Ulrich Drepper <drepper@redhat.com> + * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static + inline to avoid defining it in every file which includes this header. + * elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before defining DONT_USE_BOOTSTRAP_MAP. diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h index d02c173..93bf0be 100644 --- a/sysdeps/generic/dl-cache.h +++ b/sysdeps/generic/dl-cache.h @@ -97,7 +97,7 @@ struct cache_file_new (((addr) + __alignof__ (struct cache_file_new) -1) \ & (~(__alignof__ (struct cache_file_new) - 1))) -static int +static inline int __attribute__ ((__unused__)) _dl_cache_libcmp (const char *p1, const char *p2) { |