libc: add stat aliases

. add non-internal aliases for stat, lstat, fstat

Change-Id: I87e025b2bf073ff56a5742fc1dcf5badb2b7b321
This commit is contained in:
Ben Gras 2013-01-29 18:59:30 +00:00
parent 08cb986d3f
commit b6d285faba

View file

@ -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;