summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/ftruncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/ftruncate.c')
-rw-r--r--otherlibs/unix/ftruncate.c6
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