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 --- include/unistd.h | 1 + 1 file changed, 1 insertion(+) (limited to 'include/unistd.h') 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. */ -- cgit v1.2.3