libc: add stat aliases
. add non-internal aliases for stat, lstat, fstat Change-Id: I87e025b2bf073ff56a5742fc1dcf5badb2b7b321
This commit is contained in:
parent
08cb986d3f
commit
b6d285faba
1 changed files with 6 additions and 0 deletions
|
@ -34,10 +34,16 @@ int _stat(const char *name, struct stat *buffer);
|
|||
int _lstat(const char *name, struct stat *buffer);
|
||||
int _fstat(int fd, struct stat *buffer);
|
||||
|
||||
#ifdef __weak_alias
|
||||
__weak_alias(_stat, __stat50);
|
||||
__weak_alias(_lstat, __lstat50);
|
||||
__weak_alias(_fstat, __fstat50);
|
||||
|
||||
__weak_alias(stat, __stat50);
|
||||
__weak_alias(lstat, __lstat50);
|
||||
__weak_alias(fstat, __fstat50);
|
||||
#endif
|
||||
|
||||
int stat(const char *name, struct stat *buffer)
|
||||
{
|
||||
message m;
|
||||
|
|
Loading…
Reference in a new issue