summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/putenv.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/putenv.c')
-rw-r--r--otherlibs/unix/putenv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/putenv.c b/otherlibs/unix/putenv.c
index 257a5c58d..c20fb8d25 100644
--- a/otherlibs/unix/putenv.c
+++ b/otherlibs/unix/putenv.c
@@ -22,7 +22,7 @@
#ifdef HAS_PUTENV
-value unix_putenv(value name, value val) /* ML */
+CAMLprim value unix_putenv(value name, value val)
{
mlsize_t namelen = string_length(name);
mlsize_t vallen = string_length(val);
@@ -38,7 +38,7 @@ value unix_putenv(value name, value val) /* ML */
#else
-value unix_putenv(value name, value val)
+CAMLprim value unix_putenv(value name, value val)
{ invalid_argument("putenv not implemented"); }
#endif