about summary refs log tree commit diff
path: root/sysdeps/generic/ftruncate64.c
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic/ftruncate64.c')
-rw-r--r--sysdeps/generic/ftruncate64.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/ftruncate64.c b/sysdeps/generic/ftruncate64.c
index a85293baf6..ba27d2f43e 100644
--- a/sysdeps/generic/ftruncate64.c
+++ b/sysdeps/generic/ftruncate64.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1997, 1998 Free Software Foundation, Inc.
+/* Copyright (C) 1997, 1998, 2001 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
@@ -22,7 +22,7 @@
 
 /* Truncate the file FD refers to to LENGTH bytes.  */
 int
-ftruncate64 (fd, length)
+__ftruncate64 (fd, length)
      int fd;
      off64_t length;
 {
@@ -33,3 +33,4 @@ ftruncate64 (fd, length)
     }
   return __ftruncate (fd, (off_t) length);
 }
+weak_alias (__ftruncate64, ftruncate64)