summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/bind.c
diff options
context:
space:
mode:
authorXavier Leroy <xavier.leroy@inria.fr>1997-09-02 12:55:01 +0000
committerXavier Leroy <xavier.leroy@inria.fr>1997-09-02 12:55:01 +0000
commit1517cea772058b0fcbe778d05b8b99c7e6f3b25f (patch)
treea2d817fe623f81b7729ed3cd2e128cad91eca02b /otherlibs/unix/bind.c
parentd75918f7e459b507ac6b4b95f14df0a1eedd4937 (diff)
Sources C convertis en ANSI C
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@1696 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
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