remove special handling of rename()

Change-Id: I69694e155250dc5f527dacbaf3f0ecbdc4873989
This commit is contained in:
Lionel Sambuc 2013-12-02 16:24:13 +01:00
parent fe1223849e
commit e9e08def23
3 changed files with 6 additions and 2 deletions

View file

@ -276,7 +276,7 @@ int vsprintf(char * __restrict, const char * __restrict,
__printflike(2, 0);
#endif
#if !defined(__minix) && (defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE))
#if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE)
int rename (const char *, const char *) __RENAME(__posix_rename);
#else
int rename (const char *, const char *);

View file

@ -5,6 +5,10 @@
#include <string.h>
#include <stdio.h>
#ifdef __weak_alias
__weak_alias(__posix_rename, rename)
#endif
int rename(const char *name, const char *name2)
{
message m;