summaryrefslogtreecommitdiff
path: root/otherlibs/unix/getgroups.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getgroups.c')
-rw-r--r--otherlibs/unix/getgroups.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/getgroups.c b/otherlibs/unix/getgroups.c
index 3e42426728..d548aad4fe 100644
--- a/otherlibs/unix/getgroups.c
+++ b/otherlibs/unix/getgroups.c
@@ -24,7 +24,7 @@
#include <limits.h>
#include "unixsupport.h"
-value unix_getgroups(value unit) /* ML */
+CAMLprim value unix_getgroups(value unit)
{
gid_t gidset[NGROUPS_MAX];
int n;
@@ -41,7 +41,7 @@ value unix_getgroups(value unit) /* ML */
#else
-value unix_getgroups(value unit)
+CAMLprim value unix_getgroups(value unit)
{ invalid_argument("getgroups not implemented"); }
#endif