From eaf6753f8aac33a36deb98c1031d1bad7b593d2d Mon Sep 17 00:00:00 2001 From: Andreas Schwab Date: Fri, 2 Mar 2018 23:07:14 +0100 Subject: Fix multiple definitions of __nss_*_database (bug 22918) --- nss/nsswitch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'nss/nsswitch.c') diff --git a/nss/nsswitch.c b/nss/nsswitch.c index 4b8deedabf..ee46f24424 100644 --- a/nss/nsswitch.c +++ b/nss/nsswitch.c @@ -62,7 +62,7 @@ static service_library *nss_new_service (name_database *database, /* Declare external database variables. */ #define DEFINE_DATABASE(name) \ - extern service_user *__nss_##name##_database attribute_hidden; \ + service_user *__nss_##name##_database attribute_hidden; \ weak_extern (__nss_##name##_database) #include "databases.def" #undef DEFINE_DATABASE -- cgit v1.2.3