summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/bind.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/bind.c')
-rw-r--r--otherlibs/unix/bind.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/unix/bind.c b/otherlibs/unix/bind.c
index 11bbec0aa..74b5b5bdd 100644
--- a/otherlibs/unix/bind.c
+++ b/otherlibs/unix/bind.c
@@ -18,8 +18,7 @@
#include "socketaddr.h"
-value unix_bind(socket, address) /* ML */
- value socket, address;
+value unix_bind(value socket, value address) /* ML */
{
int ret;
get_sockaddr(address);
@@ -30,6 +29,7 @@ value unix_bind(socket, address) /* ML */
#else
-value unix_bind() { invalid_argument("bind not implemented"); }
+value unix_bind(value socket, value address)
+{ invalid_argument("bind not implemented"); }
#endif