summaryrefslogtreecommitdiffstats
path: root/otherlibs/unix/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'otherlibs/unix/truncate.c')
-rw-r--r--otherlibs/unix/truncate.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/otherlibs/unix/truncate.c b/otherlibs/unix/truncate.c
index d3e0407ea..f84ac4e1c 100644
--- a/otherlibs/unix/truncate.c
+++ b/otherlibs/unix/truncate.c
@@ -16,8 +16,7 @@
#ifdef HAS_TRUNCATE
-value unix_truncate(path, len) /* ML */
- value path, len;
+value unix_truncate(value path, value len) /* ML */
{
if (truncate(String_val(path), Long_val(len)) == -1)
uerror("truncate", path);
@@ -26,6 +25,7 @@ value unix_truncate(path, len) /* ML */
#else
-value unix_truncate() { invalid_argument("truncate not implemented"); }
+value unix_truncate(value path, value len)
+{ invalid_argument("truncate not implemented"); }
#endif