summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/fchmod.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/fchmod.c')
-rw-r--r--otherlibs/unix/fchmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/fchmod.c b/otherlibs/unix/fchmod.c
index e41357b33..5bb03ff9c 100644
--- a/otherlibs/unix/fchmod.c
+++ b/otherlibs/unix/fchmod.c
@@ -19,7 +19,7 @@
#ifdef HAS_FCHMOD
-value unix_fchmod(value fd, value perm) /* ML */
+CAMLprim value unix_fchmod(value fd, value perm)
{
if (fchmod(Int_val(fd), Int_val(perm)) == -1) uerror("fchmod", Nothing);
return Val_unit;
@@ -27,7 +27,7 @@ value unix_fchmod(value fd, value perm) /* ML */
#else
-value unix_fchmod(value fd, value perm)
+CAMLprim value unix_fchmod(value fd, value perm)
{ invalid_argument("fchmod not implemented"); }
#endif