about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/truncate.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/mach/hurd/truncate.c')
-rw-r--r--sysdeps/mach/hurd/truncate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/truncate.c b/sysdeps/mach/hurd/truncate.c
index 6fc961efa1..aaca1b2fc3 100644
--- a/sysdeps/mach/hurd/truncate.c
+++ b/sysdeps/mach/hurd/truncate.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 92, 93, 94, 95, 97, 98 Free Software Foundation, Inc.
+/* Copyright (C) 1991,92,93,94,95,97,98,2004 Free Software Foundation, Inc.
    This file is part of the GNU C Library.
 
    The GNU C Library is free software; you can redistribute it and/or
@@ -24,7 +24,7 @@
 
 /* Truncate FILE_NAME to LENGTH bytes.  */
 int
-truncate (file_name, length)
+__truncate (file_name, length)
      const char *file_name;
      off_t length;
 {
@@ -41,3 +41,4 @@ truncate (file_name, length)
     return __hurd_fail (err);
   return 0;
 }
+weak_alias (__truncate, truncate)