From: wessels <> Date: Sat, 20 May 2006 05:10:20 +0000 (+0000) Subject: struct lock_ctrl_t and callback type SIH seem to be unused anywhere X-Git-Tag: SQUID_3_0_PRE4~119 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=773df970bb52cc5aafdf7a4e2c303987cee847c7;p=thirdparty%2Fsquid.git struct lock_ctrl_t and callback type SIH seem to be unused anywhere in the code. --- diff --git a/src/store.cc b/src/store.cc index a3b3dbc716..3fe269c289 100644 --- a/src/store.cc +++ b/src/store.cc @@ -1,6 +1,6 @@ /* - * $Id: store.cc,v 1.592 2006/05/19 20:22:56 wessels Exp $ + * $Id: store.cc,v 1.593 2006/05/19 23:10:20 wessels Exp $ * * DEBUG: section 20 Storage Manager * AUTHOR: Harvest Derived @@ -81,15 +81,6 @@ const char *swapStatusStr[] = "SWAPOUT_DONE" }; -typedef struct lock_ctrl_t -{ - SIH *callback; - void *callback_data; - StoreEntry *e; -} - -lock_ctrl_t; - extern OBJH storeIOStats; diff --git a/src/typedefs.h b/src/typedefs.h index bef3b33b3c..6281ff1927 100644 --- a/src/typedefs.h +++ b/src/typedefs.h @@ -1,6 +1,6 @@ /* - * $Id: typedefs.h,v 1.184 2006/05/08 23:38:33 robertc Exp $ + * $Id: typedefs.h,v 1.185 2006/05/19 23:10:21 wessels Exp $ * * * SQUID Web Proxy Cache http://www.squid-cache.org/ @@ -278,7 +278,6 @@ typedef void STIOCB(void *their_data, int errflag, storeIOState *); typedef void STFNCB(void *their_data, int errflag, storeIOState *); typedef void STRCB(void *their_data, const char *buf, ssize_t len); -typedef void SIH(storeIOState *, void *); /* swap in */ typedef int QS(const void *, const void *); /* qsort */ typedef void STABH(void *); typedef void ERCB(int fd, void *, size_t);