summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-10 14:45:14 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:11 +0100
commit82fc713658c82cbbc577e6f8fa6cec67b911ba6e (patch)
tree2b38dcc179ae4cc03cdbfdfd85c3c3d8b4b40fc7 /include
parent695e274cf7f24c596258827ee202d29ff735d9b9 (diff)
link: Use linkat if arch does not have the link 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 137b0db0a..90d345972 100644
--- a/include/unistd.h
+++ b/include/unistd.h
@@ -887,6 +887,7 @@ extern int link (const char *__from, const char *__to)
extern int linkat (int __fromfd, const char *__from, int __tofd,
const char *__to, int __flags)
__THROW __nonnull ((2, 4)) __wur;
+libc_hidden_proto(linkat)
#endif
#if defined __USE_BSD || defined __USE_XOPEN_EXTENDED || defined __USE_XOPEN2K