diff options
author | Xavier Leroy <xavier.leroy@inria.fr> | 1997-09-02 12:55:01 +0000 |
---|---|---|
committer | Xavier Leroy <xavier.leroy@inria.fr> | 1997-09-02 12:55:01 +0000 |
commit | 1517cea772058b0fcbe778d05b8b99c7e6f3b25f (patch) | |
tree | a2d817fe623f81b7729ed3cd2e128cad91eca02b /otherlibs/unix/socketpair.c | |
parent | d75918f7e459b507ac6b4b95f14df0a1eedd4937 (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/socketpair.c')
-rw-r--r-- | otherlibs/unix/socketpair.c | 6 |
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 |