summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/connect.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/connect.c')
-rw-r--r--otherlibs/unix/connect.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/unix/connect.c b/otherlibs/unix/connect.c
index bc2012d86..74eb7188f 100644
--- a/otherlibs/unix/connect.c
+++ b/otherlibs/unix/connect.c
@@ -19,8 +19,7 @@
#include "socketaddr.h"
-value unix_connect(socket, address) /* ML */
- value socket, address;
+value unix_connect(value socket, value address) /* ML */
{
int retcode;
get_sockaddr(address);
@@ -33,6 +32,7 @@ value unix_connect(socket, address) /* ML */
#else
-value unix_connect() { invalid_argument("connect not implemented"); }
+value unix_connect(value socket, value address)
+{ invalid_argument("connect not implemented"); }
#endif