From: Ulrich Drepper Date: Sun, 25 Aug 2002 09:44:37 +0000 (+0000) Subject: Update. X-Git-Tag: cvs/glibc-2-3~383 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b65d9522d44268c81adcd750bcaa574210668edc;p=thirdparty%2Fglibc.git Update. * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static inline to avoid defining it in every file which includes this header. --- diff --git a/ChangeLog b/ChangeLog index e35cf64d9d1..592f5252b02 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,8 @@ 2002-08-25 Ulrich Drepper + * 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 d02c1739c1d..93bf0be6f45 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) {