summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/socketaddr.h
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/socketaddr.h')
-rw-r--r--otherlibs/unix/socketaddr.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/otherlibs/unix/socketaddr.h b/otherlibs/unix/socketaddr.h
index 3fc858092..df8e9b93a 100644
--- a/otherlibs/unix/socketaddr.h
+++ b/otherlibs/unix/socketaddr.h
@@ -36,8 +36,8 @@ typedef int socklen_param_type;
void get_sockaddr (value mladdr,
union sock_addr_union * addr /*out*/,
socklen_param_type * addr_len /*out*/);
-value alloc_sockaddr (union sock_addr_union * addr /*in*/,
+CAMLprim value alloc_sockaddr (union sock_addr_union * addr /*in*/,
socklen_param_type addr_len);
-value alloc_inet_addr (uint32 inaddr);
+CAMLprim value alloc_inet_addr (uint32 inaddr);
#define GET_INET_ADDR(v) (*((uint32 *) (v)))