aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
Diffstat (limited to 'nss')
-rw-r--r--nss/getXXbyYY.c2
-rw-r--r--nss/getXXbyYY_r.c2
-rw-r--r--nss/getXXent.c2
-rw-r--r--nss/getXXent_r.c4
4 files changed, 10 insertions, 0 deletions
diff --git a/nss/getXXbyYY.c b/nss/getXXbyYY.c
index a9f1cfd5c8..ece2a0d47c 100644
--- a/nss/getXXbyYY.c
+++ b/nss/getXXbyYY.c
@@ -162,3 +162,5 @@ done:
return result;
}
+
+static_link_warning (FUNCTION_NAME)
diff --git a/nss/getXXbyYY_r.c b/nss/getXXbyYY_r.c
index 06f2abedd0..aca6a94a35 100644
--- a/nss/getXXbyYY_r.c
+++ b/nss/getXXbyYY_r.c
@@ -289,3 +289,5 @@ strong_alias (INTERNAL (REENTRANT_NAME), NEW (REENTRANT_NAME));
versioned_symbol (libc, real, name, version)
do_default_symbol_version (NEW (REENTRANT_NAME),
REENTRANT_NAME, GLIBC_2_1_2);
+
+static_link_warning (REENTRANT_NAME)
diff --git a/nss/getXXent.c b/nss/getXXent.c
index 0a13b79d87..60e1395f2b 100644
--- a/nss/getXXent.c
+++ b/nss/getXXent.c
@@ -91,3 +91,5 @@ GETFUNC_NAME (void)
__set_errno (save);
return result;
}
+
+static_link_warning (GETFUNC_NAME)
diff --git a/nss/getXXent_r.c b/nss/getXXent_r.c
index 5a1e3e9b0f..8a0155bc3d 100644
--- a/nss/getXXent_r.c
+++ b/nss/getXXent_r.c
@@ -201,3 +201,7 @@ strong_alias (INTERNAL (REENTRANT_GETNAME), NEW (REENTRANT_GETNAME));
versioned_symbol (libc, real, name, version)
do_default_symbol_version (NEW (REENTRANT_GETNAME),
REENTRANT_GETNAME, GLIBC_2_1_2);
+
+static_link_warning (SETFUNC_NAME)
+static_link_warning (ENDFUNC_NAME)
+static_link_warning (REENTRANT_GETNAME)