summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/symlink.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/symlink.c')
-rw-r--r--otherlibs/unix/symlink.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/symlink.c b/otherlibs/unix/symlink.c
index c0314c48c..e24e68ef7 100644
--- a/otherlibs/unix/symlink.c
+++ b/otherlibs/unix/symlink.c
@@ -17,7 +17,7 @@
#ifdef HAS_SYMLINK
-value unix_symlink(value path1, value path2) /* ML */
+CAMLprim value unix_symlink(value path1, value path2)
{
if (symlink(String_val(path1), String_val(path2)) == -1)
uerror("symlink", path2);
@@ -26,7 +26,7 @@ value unix_symlink(value path1, value path2) /* ML */
#else
-value unix_symlink(value path1, value path2)
+CAMLprim value unix_symlink(value path1, value path2)
{ invalid_argument("symlink not implemented"); }
#endif