summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/getgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getgroups.c')
-rw-r--r--otherlibs/unix/getgroups.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/otherlibs/unix/getgroups.c b/otherlibs/unix/getgroups.c
index 4c9b2d3fc..741acbcf3 100644
--- a/otherlibs/unix/getgroups.c
+++ b/otherlibs/unix/getgroups.c
@@ -20,7 +20,7 @@
#include <sys/param.h>
#include "unixsupport.h"
-value unix_getgroups() /* ML */
+value unix_getgroups(value unit) /* ML */
{
gid_t gidset[NGROUPS];
int n;
@@ -37,6 +37,7 @@ value unix_getgroups() /* ML */
#else
-value unix_getgroups() { invalid_argument("getgroups not implemented"); }
+value unix_getgroups(value unit)
+{ invalid_argument("getgroups not implemented"); }
#endif