From 09a387a0fcedce4270f62f5ea75c7bb0374c4d7f Mon Sep 17 00:00:00 2001 From: Markos Chandras Date: Wed, 10 Oct 2012 14:47:21 +0100 Subject: unlink: Use unlinkat if arch does not have the unlink syscall Signed-off-by: Markos Chandras Signed-off-by: Bernhard Reutner-Fischer --- libc/sysdeps/linux/common/unlinkat.c | 1 + 1 file changed, 1 insertion(+) (limited to 'libc/sysdeps/linux/common/unlinkat.c') diff --git a/libc/sysdeps/linux/common/unlinkat.c b/libc/sysdeps/linux/common/unlinkat.c index 0eaf2b670..432af1b75 100644 --- a/libc/sysdeps/linux/common/unlinkat.c +++ b/libc/sysdeps/linux/common/unlinkat.c @@ -11,6 +11,7 @@ #ifdef __NR_unlinkat _syscall3(int, unlinkat, int, fd, const char *, file, int, flag) +libc_hidden_def(unlinkat) #else /* should add emulation with unlink() and /proc/self/fd/ ... */ #endif -- cgit v1.2.3