From: Ben Gras Date: Fri, 15 Jan 2010 17:16:15 +0000 (+0000) Subject: make C function setgroups() be _setgroups(), called by the asm stub. X-Git-Tag: v3.1.6~76 X-Git-Url: http://zhaoyanbai.com/repos/readme1st.txt?a=commitdiff_plain;h=716df202ded8b43274d278ddf2e8c947379f31b7;p=minix.git make C function setgroups() be _setgroups(), called by the asm stub. initgroups() can then use _setgroups() instead of setgroups(). --- diff --git a/lib/other/initgroups.c b/lib/other/initgroups.c index 86a656303..d27554945 100644 --- a/lib/other/initgroups.c +++ b/lib/other/initgroups.c @@ -2,6 +2,7 @@ initgroups.c */ #include +#define setgroups _setgroups #include #include #include diff --git a/lib/other/setgroups.c b/lib/other/setgroups.c index e1813b0ca..eeb72053f 100644 --- a/lib/other/setgroups.c +++ b/lib/other/setgroups.c @@ -3,6 +3,7 @@ setgroups.c */ #include +#define setgroups _setgroups #include int setgroups(int ngroups, const gid_t *gidset)