From 2f7f7bc65803510cdf137bde00fdb72c918af63c Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Mon, 16 Jun 2003 17:18:06 +0000 Subject: Update. 2003-06-16 Thorsten Kukuk * 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 * 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 * 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 . --- grp/initgroups.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'grp') diff --git a/grp/initgroups.c b/grp/initgroups.c index 1e4c2b5c2b..4b19594833 100644 --- a/grp/initgroups.c +++ b/grp/initgroups.c @@ -223,6 +223,8 @@ getgrouplist (const char *user, gid_t group, gid_t *groups, int *ngroups) return result; } +static_link_warning (getgrouplist) + /* Initialize the group set for the current user by reading the group database and using all groups of which USER is a member. Also include GROUP. */ @@ -271,3 +273,5 @@ initgroups (const char *user, gid_t group) return result; #endif } + +static_link_warning (initgroups) -- cgit 1.4.1