summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/socketpair.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/socketpair.c')
-rw-r--r--otherlibs/unix/socketpair.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/socketpair.c b/otherlibs/unix/socketpair.c
index 6976d146f..86c383b84 100644
--- a/otherlibs/unix/socketpair.c
+++ b/otherlibs/unix/socketpair.c
@@ -22,7 +22,7 @@
extern int socket_domain_table[], socket_type_table[];
-value unix_socketpair(value domain, value type, value proto) /* ML */
+CAMLprim value unix_socketpair(value domain, value type, value proto)
{
int sv[2];
value res;
@@ -38,7 +38,7 @@ value unix_socketpair(value domain, value type, value proto) /* ML */
#else
-value unix_socketpair(value domain, value type, value proto)
+CAMLprim value unix_socketpair(value domain, value type, value proto)
{ invalid_argument("socketpair not implemented"); }
#endif