From: Francesco Chemolli Date: Thu, 30 Aug 2012 11:02:47 +0000 (+0200) Subject: Moved safeunlink prototype to disk.h X-Git-Tag: sourceformat-review-1~41 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4ceccecec9cd86ebe8f2fb534e514fd4db0e7f7d;p=thirdparty%2Fsquid.git Moved safeunlink prototype to disk.h --- diff --git a/src/disk.h b/src/disk.h index d5130735a4..dca9db41dc 100644 --- a/src/disk.h +++ b/src/disk.h @@ -53,5 +53,6 @@ extern void file_write(int, off_t, void const *, int len, DWCB *, void *, FREE * extern void file_write_mbuf(int fd, off_t, MemBuf mb, DWCB * handler, void *handler_data); extern void file_read(int, char *, int, off_t, DRCB *, void *); extern void disk_init(void); +extern void safeunlink(const char *path, int quiet); #endif /* SQUID_DISK_H_ */ diff --git a/src/protos.h b/src/protos.h index 64c305a341..31dadc62ec 100644 --- a/src/protos.h +++ b/src/protos.h @@ -88,8 +88,6 @@ extern void reconfigure(int); class store_client; -SQUIDCEXTERN void safeunlink(const char *path, int quiet); - #include "fatal.h" extern void death(int sig); extern void sigusr2_handle(int sig);