From 05a55868ff0f42cfc8701c7977322aa4c8e1aca3 Mon Sep 17 00:00:00 2001 From: Rich Felker Date: Wed, 4 May 2022 10:51:00 -0400 Subject: provide an internal namespace-safe __fstat this avoids the need for implementation-internal callers to depend on the nonstandard AT_EMPTY_PATH extension to use __fstatat and isolates knowledge of that extension to the implementation of __fstat. --- src/include/sys/stat.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/include') diff --git a/src/include/sys/stat.h b/src/include/sys/stat.h index 822888b2..59339bee 100644 --- a/src/include/sys/stat.h +++ b/src/include/sys/stat.h @@ -3,6 +3,7 @@ #include "../../../include/sys/stat.h" +hidden int __fstat(int, struct stat *); hidden int __fstatat(int, const char *restrict, struct stat *restrict, int); #endif -- cgit 1.4.1