__ goes away
[unix-history] / usr / src / lib / libc / sys / ftruncate.c
index 7d7dd8a..95a7960 100644 (file)
@@ -6,7 +6,7 @@
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
  */
 
 #if defined(LIBC_SCCS) && !defined(lint)
-static char sccsid[] = "@(#)ftruncate.c        5.1 (Berkeley) %G%";
+static char sccsid[] = "@(#)ftruncate.c        5.2 (Berkeley) %G%";
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
 #endif /* LIBC_SCCS and not lint */
 
 #include <sys/types.h>
@@ -17,10 +17,10 @@ static char sccsid[] = "@(#)ftruncate.c     5.1 (Berkeley) %G%";
  * is not supplied by GCC 1.X but is supplied by GCC 2.X.
  */
 int
  * is not supplied by GCC 1.X but is supplied by GCC 2.X.
  */
 int
-__ftruncate(fd, length)
+ftruncate(fd, length)
        int     fd;
        off_t   length;
 {
 
        int     fd;
        off_t   length;
 {
 
-       return(__indir((quad_t)SYS___ftruncate, fd, 0, length));
+       return(__indir((quad_t)SYS_ftruncate, fd, 0, length));
 }
 }