aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/generic
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/generic')
-rw-r--r--sysdeps/generic/truncate.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/sysdeps/generic/truncate.c b/sysdeps/generic/truncate.c
index d7713b16d2..6d0f0c3bcb 100644
--- a/sysdeps/generic/truncate.c
+++ b/sysdeps/generic/truncate.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 1991, 1995, 1996, 1997 Free Software Foundation, Inc.
+/* Copyright (C) 1991, 1995, 1996, 1997, 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
@@ -21,13 +21,14 @@
/* Truncate PATH to LENGTH bytes. */
int
-truncate (path, length)
+__truncate (path, length)
const char *path;
off_t length;
{
__set_errno (ENOSYS);
return -1;
}
+weak_alias (__truncate, truncate)
stub_warning (truncate)
#include <stub-tag.h>