From 4d97cc8cf3da925fd06fc37d4daebafce3247719 Mon Sep 17 00:00:00 2001 From: Adhemerval Zanella Date: Fri, 23 Oct 2020 16:40:06 -0300 Subject: io: Remove xstat implementations With xstat wrapper functions removed (8ed005daf0), the stat functions are now properly exported, and version is done using symbols versioning instead of the extra _STAT_* argument. Reviewed-by: Lukasz Majewski --- io/fstat.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'io/fstat.c') diff --git a/io/fstat.c b/io/fstat.c index c392ebe..065e6f8 100644 --- a/io/fstat.c +++ b/io/fstat.c @@ -17,11 +17,10 @@ #include -#undef __fstat int __fstat (int fd, struct stat *buf) { - return __fxstat (_STAT_VER, fd, buf); + return __fstatat (fd, "", buf, AT_EMPTY_PATH); } weak_alias (__fstat, fstat) -- cgit v1.1