From: Matthew Fernandez Date: Mon, 25 Apr 2022 04:14:41 +0000 (-0700) Subject: sfio: remove 'fstat' prototype X-Git-Tag: 4.0.0~58^2~2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=23130ccc8fde50954c329a0d80bb8c575594419c;p=graphviz 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. --- 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