From: Matthew Fernandez Date: Thu, 1 Jul 2021 00:24:39 +0000 (-0700) Subject: remove remove/unlink declarations in sfio X-Git-Tag: 2.48.0~18^2~6 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=beaaa3e969d5e78a61d83d439df5e6eba905f653;p=graphviz remove remove/unlink declarations in sfio The last use of these was removed in 751ab539a2531b5459ef709946ea0642ce2c44e8. --- diff --git a/lib/sfio/sfhdr.h b/lib/sfio/sfhdr.h index fcb3c99ce..bfe567ab5 100644 --- a/lib/sfio/sfhdr.h +++ b/lib/sfio/sfhdr.h @@ -83,10 +83,6 @@ extern "C" { #define SFMTXSTART(f,v) { if(!f) return(v); } #define SFMTXRETURN(f,v) { return(v); } -#ifdef HAVE_UNLINK -#define remove unlink -#endif - /* 64-bit vs 32-bit file stuff */ #ifdef HAVE_SYS_STAT_H #ifdef _LARGEFILE64_SOURCE @@ -648,9 +644,6 @@ extern "C" { extern uint sleep(uint); extern int execl(const char *, const char *, ...); extern int execv(const char *, char **); -#ifdef HAVE_UNLINK - extern int unlink(const char *); -#endif #endif /*HAVE_UNISTD_H*/ #endif /* _WIN32 */