diff options
author | Markos Chandras <markos.chandras@imgtec.com> | 2012-10-10 14:47:21 +0100 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2013-02-20 13:45:11 +0100 |
commit | 09a387a0fcedce4270f62f5ea75c7bb0374c4d7f (patch) | |
tree | 09b793f5b04a0f2f486019b3d00216ec27a2c2d7 /libc/sysdeps/linux/common/unlinkat.c | |
parent | 82fc713658c82cbbc577e6f8fa6cec67b911ba6e (diff) |
unlink: Use unlinkat if arch does not have the unlink syscall
Signed-off-by: Markos Chandras <markos.chandras@imgtec.com>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/unlinkat.c')
-rw-r--r-- | libc/sysdeps/linux/common/unlinkat.c | 1 |
1 files changed, 1 insertions, 0 deletions
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 |