about summary refs log tree commit diff
path: root/sysdeps/generic/dl-cache.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-08-25 09:44:37 +0000
committerUlrich Drepper <drepper@redhat.com>2002-08-25 09:44:37 +0000
commitb65d9522d44268c81adcd750bcaa574210668edc (patch)
tree806f8ffd9b757c9fdf847e72ae58eea40547d940 /sysdeps/generic/dl-cache.h
parent9df89390022a1144afffc1a0092f2b45367b17e2 (diff)
downloadglibc-b65d9522d44268c81adcd750bcaa574210668edc.tar.gz
glibc-b65d9522d44268c81adcd750bcaa574210668edc.tar.xz
glibc-b65d9522d44268c81adcd750bcaa574210668edc.zip
Update.
	* sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Define as static
	inline to avoid defining it in every file which includes this header.
Diffstat (limited to 'sysdeps/generic/dl-cache.h')
-rw-r--r--sysdeps/generic/dl-cache.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/generic/dl-cache.h b/sysdeps/generic/dl-cache.h
index d02c1739c1..93bf0be6f4 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)
 {