aboutsummaryrefslogtreecommitdiff
path: root/nss
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2003-06-16 17:18:06 +0000
committerUlrich Drepper <drepper@redhat.com>2003-06-16 17:18:06 +0000
commit2f7f7bc65803510cdf137bde00fdb72c918af63c (patch)
tree5773b68d6e27f9b6bbfc1856bee4d989e7ae5cb7 /nss
parent90a2545a9531710730a0693f545b0225db0fa6d0 (diff)
downloadglibc-2f7f7bc65803510cdf137bde00fdb72c918af63c.zip
glibc-2f7f7bc65803510cdf137bde00fdb72c918af63c.tar.gz
glibc-2f7f7bc65803510cdf137bde00fdb72c918af63c.tar.bz2
Update.
2003-06-16 Thorsten Kukuk <kukuk@suse.de> * include/libc-symbols.h: Add static_link_warning macro. * grp/initgroups.c: Print linker warning if this function is called in a static linked binary. * nss/getXXbyYY.c: Likewise. * nss/getXXbyYY_r.c: Likewise. * nss/getXXent.c: Likewise. * nss/getXXent_r.c: Likewise. * sysdeps/posix/getaddrinfo.c: Likewise. 2003-06-16 Bruno Haible <bruno@clisp.org> * iconvdata/gconv-modules (ISO-8859-15): Add aliases ISO_8859-15, LATIN-9. (ISO-8859-16): Add aliases ISO_8859-16:2001, ISO_8859-16. (IBM1047): Add alias IBM-1047. (GBK): Add aliases MS936, WINDOWS-936. 2003-06-16 Jakub Jelinek <jakub@redhat.com> * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Define even if defined __ASSUME_STAT64_SYSCALL && defined XSTAT_IS_XSTAT64. (__xstat64_conv): Change xstat_conv to __xstat_conv. Reported by Arnaud Desitter <arnaud.desitter@geography.oxford.ac.uk>.
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 a9f1cfd..ece2a0d 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 06f2abe..aca6a94 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 0a13b79..60e1395 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 5a1e3e9..8a0155b 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)