summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMarkos Chandras <markos.chandras@imgtec.com>2012-10-10 15:17:10 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2013-02-20 13:45:11 +0100
commit3a5be53a84ac68255fbcecb73b8fe58a35550c26 (patch)
treeb7bc2eb2508b2f03691d1570127c6a7f9fdfa615 /include
parentecb2be2c0a2f9c489663a4b01b97074dda2ceb1e (diff)
rename: Use renameat if arch does not have the rename 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/stdio.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/stdio.h b/include/stdio.h
index 381ca5f02..e0006d2e7 100644
--- a/include/stdio.h
+++ b/include/stdio.h
@@ -151,6 +151,7 @@ __END_NAMESPACE_STD
/* Rename file OLD relative to OLDFD to NEW relative to NEWFD. */
extern int renameat (int __oldfd, const char *__old, int __newfd,
const char *__new) __THROW;
+libc_hidden_proto(renameat)
#endif
__BEGIN_NAMESPACE_STD