From 23130ccc8fde50954c329a0d80bb8c575594419c Mon Sep 17 00:00:00 2001 From: Matthew Fernandez Date: Sun, 24 Apr 2022 21:14:41 -0700 Subject: [PATCH] sfio: remove 'fstat' prototype The guard on this prototype appears back to front. If `HAVE_SYS_STAT_H` is true, we already have a prototype of this function _in_ sys/stat.h. --- lib/sfio/sfhdr.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index 756a4d839..d8a4afe81 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -572,10 +572,6 @@ extern "C" { #else #endif /* _WIN32 */ -#ifdef HAVE_SYS_STAT_H - extern int fstat(int, Stat_t *); -#endif - #ifdef __cplusplus } #endif -- 2.40.0