OSDN Git Service

make DODEBUG=y happy, update sysdeps/common/* copyright
[uclinux-h8/uClibc.git] / libc / sysdeps / linux / common / truncate.c
index dd69bcb..08c71fc 100644 (file)
@@ -2,12 +2,15 @@
 /*
  * truncate() for uClibc
  *
- * Copyright (C) 2000-2004 by Erik Andersen <andersen@codepoet.org>
+ * Copyright (C) 2000-2006 Erik Andersen <andersen@uclibc.org>
  *
- * GNU Library General Public License (LGPL) version 2 or later.
+ * Licensed under the LGPL v2.1, see the file COPYING.LIB in this tarball.
  */
 
 #include "syscalls.h"
 #include <unistd.h>
+
+libc_hidden_proto(truncate)
+
 _syscall2(int, truncate, const char *, path, __off_t, length);
-hidden_strong_alias(truncate, __truncate)
+libc_hidden_def(truncate)