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/ftruncate.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/ftruncate.c')
-rw-r--r-- | otherlibs/unix/ftruncate.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/unix/ftruncate.c b/otherlibs/unix/ftruncate.c index e0b68ab4c..4821e0e6b 100644 --- a/otherlibs/unix/ftruncate.c +++ b/otherlibs/unix/ftruncate.c @@ -16,8 +16,7 @@ #ifdef HAS_TRUNCATE -value unix_ftruncate(fd, len) /* ML */ - value fd, len; +value unix_ftruncate(value fd, value len) /* ML */ { if (ftruncate(Int_val(fd), Long_val(len)) == -1) uerror("ftruncate", Nothing); @@ -26,6 +25,7 @@ value unix_ftruncate(fd, len) /* ML */ #else -value unix_ftruncate() { invalid_argument("ftruncate not implemented"); } +value unix_ftruncate(value fd, value len) +{ invalid_argument("ftruncate not implemented"); } #endif |