diff options
Diffstat (limited to 'stdio-common/renameat2.c')
-rw-r--r-- | stdio-common/renameat2.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/stdio-common/renameat2.c b/stdio-common/renameat2.c index ce60173455..00cb2ec6c5 100644 --- a/stdio-common/renameat2.c +++ b/stdio-common/renameat2.c @@ -20,7 +20,7 @@ #include <stdio.h> int -renameat2 (int oldfd, const char *old, int newfd, const char *new, +__renameat2 (int oldfd, const char *old, int newfd, const char *new, unsigned int flags) { if (flags == 0) @@ -28,3 +28,5 @@ renameat2 (int oldfd, const char *old, int newfd, const char *new, __set_errno (EINVAL); return -1; } +libc_hidden_def (__renameat2) +weak_alias (__renameat2, renameat2) |