summaryrefslogtreecommitdiff
path: root/grp
diff options
context:
space:
mode:
Diffstat (limited to 'grp')
-rw-r--r--grp/initgroups.c4
1 files changed, 4 insertions, 0 deletions
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)