summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-10 14:47:21 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:11 +0100
commit09a387a0fcedce4270f62f5ea75c7bb0374c4d7f (patch)
tree09b793f5b04a0f2f486019b3d00216ec27a2c2d7 /include
parent82fc713658c82cbbc577e6f8fa6cec67b911ba6e (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 'include')
-rw-r--r--include/unistd.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/unistd.h b/include/unistd.h
index 90d345972..ed77ce928 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -923,6 +923,7 @@ libc_hidden_proto(unlink)
/* Remove the link NAME relative to FD. */
extern int unlinkat (int __fd, const char *__name, int __flag)
__THROW __nonnull ((2));
+libc_hidden_proto(unlinkat)
#endif
/* Remove the directory PATH. */