* sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static
	inline to avoid defining it in every file which includes this header.
This commit is contained in:
Ulrich Drepper 2002-08-25 09:44:37 +00:00
parent 9df8939002
commit b65d9522d4
2 changed files with 4 additions and 1 deletions

View File

@ -1,5 +1,8 @@
2002-08-25 Ulrich Drepper <drepper@redhat.com> 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 * elf/rtld.c: Also test for HAVE_VISIBILITY_ATTRIBUTE before
defining DONT_USE_BOOTSTRAP_MAP. defining DONT_USE_BOOTSTRAP_MAP.

View File

@ -97,7 +97,7 @@ struct cache_file_new
(((addr) + __alignof__ (struct cache_file_new) -1) \ (((addr) + __alignof__ (struct cache_file_new) -1) \
& (~(__alignof__ (struct cache_file_new) - 1))) & (~(__alignof__ (struct cache_file_new) - 1)))
static int static inline int
__attribute__ ((__unused__)) __attribute__ ((__unused__))
_dl_cache_libcmp (const char *p1, const char *p2) _dl_cache_libcmp (const char *p1, const char *p2)
{ {