summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/common/fchdir.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/sysdeps/linux/common/fchdir.c')
-rw-r--r--libc/sysdeps/linux/common/fchdir.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/libc/sysdeps/linux/common/fchdir.c b/libc/sysdeps/linux/common/fchdir.c
index f4692cc2c..1c59bac00 100644
--- a/libc/sysdeps/linux/common/fchdir.c
+++ b/libc/sysdeps/linux/common/fchdir.c
@@ -2,13 +2,15 @@
/*
* fchdir() 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>
-#define __NR___fchdir __NR_fchdir
-attribute_hidden _syscall1(int, __fchdir, int, fd);
-strong_alias(__fchdir,fchdir)
+
+libc_hidden_proto(fchdir)
+
+_syscall1(int, fchdir, int, fd);
+libc_hidden_def(fchdir)