summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/accept.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/accept.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/accept.c')
-rw-r--r--otherlibs/unix/accept.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/otherlibs/unix/accept.c b/otherlibs/unix/accept.c
index 228059d25..8d2c2fd5b 100644
--- a/otherlibs/unix/accept.c
+++ b/otherlibs/unix/accept.c
@@ -21,8 +21,7 @@
#include "socketaddr.h"
-value unix_accept(sock) /* ML */
- value sock;
+value unix_accept(value sock) /* ML */
{
int retcode;
value res;
@@ -44,6 +43,6 @@ value unix_accept(sock) /* ML */
#else
-value unix_accept() { invalid_argument("accept not implemented"); }
+value unix_accept(value sock) { invalid_argument("accept not implemented"); }
#endif