summaryrefslogtreecommitdiff
path: root/otherlibs/unix/getsockname.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/getsockname.c')
-rw-r--r--otherlibs/unix/getsockname.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/getsockname.c b/otherlibs/unix/getsockname.c
index 920900e48e..db6ccb2bf7 100644
--- a/otherlibs/unix/getsockname.c
+++ b/otherlibs/unix/getsockname.c
@@ -19,7 +19,7 @@
#include "socketaddr.h"
-value unix_getsockname(value sock) /* ML */
+CAMLprim value unix_getsockname(value sock)
{
int retcode;
union sock_addr_union addr;
@@ -33,7 +33,7 @@ value unix_getsockname(value sock) /* ML */
#else
-value unix_getsockname(value sock)
+CAMLprim value unix_getsockname(value sock)
{ invalid_argument("getsockname not implemented"); }
#endif