summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/addrofstr.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/addrofstr.c')
-rw-r--r--otherlibs/unix/addrofstr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/addrofstr.c b/otherlibs/unix/addrofstr.c
index ab9e271d2..767918052 100644
--- a/otherlibs/unix/addrofstr.c
+++ b/otherlibs/unix/addrofstr.c
@@ -20,7 +20,7 @@
#include "socketaddr.h"
-value unix_inet_addr_of_string(value s) /* ML */
+CAMLprim value unix_inet_addr_of_string(value s)
{
#ifdef HAS_INET_ATON
struct in_addr address;
@@ -37,7 +37,7 @@ value unix_inet_addr_of_string(value s) /* ML */
#else
-value unix_inet_addr_of_string(value s)
+CAMLprim value unix_inet_addr_of_string(value s)
{ invalid_argument("inet_addr_of_string not implemented"); }
#endif