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.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/unix/socketpair.c b/otherlibs/unix/socketpair.c
index 67dec4ee1..0f325a471 100644
--- a/otherlibs/unix/socketpair.c
+++ b/otherlibs/unix/socketpair.c
@@ -21,8 +21,7 @@
extern int socket_domain_table[], socket_type_table[];
-value unix_socketpair(domain, type, proto) /* ML */
- value domain, type, proto;
+value unix_socketpair(value domain, value type, value proto) /* ML */
{
int sv[2];
value res;
@@ -38,6 +37,7 @@ value unix_socketpair(domain, type, proto) /* ML */
#else
-value unix_socketpair() { invalid_argument("socketpair not implemented"); }
+value unix_socketpair(value domain, value type, value proto)
+{ invalid_argument("socketpair not implemented"); }
#endif