]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Cleaned up the namespace some.
authorFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 12 Jul 2008 15:40:56 +0000 (17:40 +0200)
committerFrancesco Chemolli <kinkie@squid-cache.org>
Sat, 12 Jul 2008 15:40:56 +0000 (17:40 +0200)
Fixed some broken file permisssions.

39 files changed:
helpers/basic_auth/squid_radius_auth/radius-util.h [changed mode: 0755->0644]
helpers/basic_auth/squid_radius_auth/squid_rad_auth.c [changed mode: 0755->0644]
helpers/external_acl/session/squid_session.c [changed mode: 0755->0644]
helpers/negotiate_auth/squid_kerb_auth/spnegohelp/spnegohelp.c [changed mode: 0755->0644]
helpers/negotiate_auth/squid_kerb_auth/spnegohelp/spnegohelp.h [changed mode: 0755->0644]
helpers/ntlm_auth/fakeauth/fakeauth_auth.c [changed mode: 0755->0644]
include/squid_mswin.h [changed mode: 0755->0644]
lib/dirent.c [changed mode: 0755->0644]
lib/encrypt.c [changed mode: 0755->0644]
lib/getopt.c [changed mode: 0755->0644]
lib/inet_ntoa.c [changed mode: 0755->0644]
lib/radix.c [changed mode: 0755->0644]
lib/strnstr.cc [changed mode: 0755->0644]
lib/win32lib.c [changed mode: 0755->0644]
src/AccessLogEntry.h
src/ICMPPinger.cc [changed mode: 0755->0644]
src/ICMPv4.h [changed mode: 0755->0644]
src/Makefile.am [changed mode: 0755->0644]
src/WinSvc.cc [changed mode: 0755->0644]
src/access_log.cc
src/carp.cc
src/client_db.cc
src/debug.cc [changed mode: 0755->0644]
src/dns_internal.cc [changed mode: 0755->0644]
src/dnsserver.cc [changed mode: 0755->0644]
src/fqdncache.cc
src/ipcache.cc
src/main.cc
src/neighbors.cc
src/net_db.cc
src/pinger.cc [changed mode: 0755->0644]
src/protos.h
src/redirect.cc
src/refresh.cc
src/stat.cc
src/store_digest.cc
src/store_log.cc
src/structs.h [changed mode: 0755->0644]
tools/squidclient.cc [changed mode: 0755->0644]

old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index 9ddd12f500e279931cf64b90b989aab8d049a5fc..ef559f3df54031c9bafeed76829ed12c3690c7e8 100644 (file)
@@ -144,7 +144,6 @@ extern void accessLogLog(AccessLogEntry *, ACLChecklist * checklist);
 extern void accessLogRotate(void);
 extern void accessLogClose(void);
 extern void accessLogInit(void);
-extern void accessLogRegisterWithCacheManager();
 extern void accessLogFreeMemory(AccessLogEntry * aLogEntry);
 extern const char *accessLogTime(time_t);
 extern int accessLogParseLogFormat(logformat_token ** fmt, char *def);
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index c1f63a32419d9202d9977b5713157586819dbfa7..364fb3c0a716e2c3d3bcfe99df0efc6ea8ebd9ee 100644 (file)
@@ -1555,6 +1555,14 @@ hierarchyNote(HierarchyLogEntry * hl,
     xstrncpy(hl->host, cache_peer, SQUIDHOSTNAMELEN);
 }
 
+static void
+accessLogRegisterWithCacheManager(void)
+{
+#if FORW_VIA_DB
+    fvdbRegisterWithCacheManager();
+#endif
+}
+
 void
 accessLogInit(void)
 {
@@ -1613,14 +1621,6 @@ accessLogInit(void)
 #endif
 }
 
-void
-accessLogRegisterWithCacheManager()
-{
-#if FORW_VIA_DB
-    fvdbRegisterWithCacheManager();
-#endif
-}
-
 const char *
 accessLogTime(time_t t)
 {
index e392820bcf6a6b17b31f45662632a4fd98ed7eca..ab49036d31ef5f65f3f487a43b3289966ab4b1d2 100644 (file)
@@ -52,6 +52,13 @@ peerSortWeight(const void *a, const void *b)
     return (*p1)->weight - (*p2)->weight;
 }
 
+static void
+carpRegisterWithCacheManager(void)
+{
+    CacheManager::GetInstance()->
+        registerAction("carp", "CARP information", carpCachemgr, 0, 1);
+}
+
 void
 carpInit(void)
 {
@@ -154,13 +161,6 @@ carpInit(void)
     }
 }
 
-void
-carpRegisterWithCacheManager()
-{
-    CacheManager::GetInstance()->
-        registerAction("carp", "CARP information", carpCachemgr, 0, 1);
-}
-
 peer *
 carpSelectParent(HttpRequest * request)
 {
index 675ec387219481b5ce87d37deb98da65d07a8697..33d920321646645183d789dcf4547dc7114bcb04 100644 (file)
@@ -75,6 +75,13 @@ clientdbAdd(const IPAddress &addr)
     return c;
 }
 
+static void
+clientdbRegisterWithCacheManager(void)
+{
+    CacheManager::GetInstance()->
+        registerAction("client_list", "Cache Client List", clientdbDump, 0, 1);
+}
+
 void
 clientdbInit(void)
 {
@@ -88,14 +95,6 @@ clientdbInit(void)
 }
 
 void
-clientdbRegisterWithCacheManager(void)
-{
-    CacheManager::GetInstance()->
-        registerAction("client_list", "Cache Client List", clientdbDump, 0, 1);
-}
-
-void
-
 clientdbUpdate(const IPAddress &addr, log_type ltype, protocol_t p, size_t size)
 {
     char key[MAX_IPSTRLEN];
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)
index f9d92a4..f3b8d24
@@ -1309,6 +1309,13 @@ idnsRcodeCount(int rcode, int attempt)
 
 /* ====================================================================== */
 
+static void
+idnsRegisterWithCacheManager(void)
+{
+    CacheManager::GetInstance()->
+        registerAction("idns", "Internal DNS Statistics", idnsStats, 0, 1);
+}
+
 void
 idnsInit(void)
 {
@@ -1385,13 +1392,6 @@ idnsInit(void)
     idnsRegisterWithCacheManager();
 }
 
-void
-idnsRegisterWithCacheManager(void)
-{
-    CacheManager::GetInstance()->
-        registerAction("idns", "Internal DNS Statistics", idnsStats, 0, 1);
-}
-
 void
 idnsShutdown(void)
 {
old mode 100755 (executable)
new mode 100644 (file)
index 6c5b21adda7a0d9075a8ee3b17297b3c29ab9300..c3584e55a3e6d9bceccb83b3d5c3826223eb38ac 100644 (file)
@@ -582,6 +582,16 @@ fqdncache_nbgethostbyaddr(IPAddress &addr, FQDNH * handler, void *handlerData)
 #endif
 }
 
+/// \ingroup FQDNCacheInternal
+static void
+fqdncacheRegisterWithCacheManager(void)
+{
+    CacheManager::GetInstance()->
+        registerAction("fqdncache", "FQDN Cache Stats and Contents",
+                       fqdnStats, 0, 1);
+
+}
+
 /**
  \ingroup FQDNCacheAPI
  *
@@ -618,16 +628,6 @@ fqdncache_init(void)
                 sizeof(fqdncache_entry), 0);
 }
 
-/// \ingroup FQDNCacheAPI
-void
-fqdncacheRegisterWithCacheManager(void)
-{
-    CacheManager::GetInstance()->
-        registerAction("fqdncache", "FQDN Cache Stats and Contents",
-                       fqdnStats, 0, 1);
-
-}
-
 /**
  \ingroup FQDNCacheAPI
  *
index 2564723d9a52c0bf9e209828e4bf4ed184a5cf0c..ff8e07e06bcb5e6c4debc93153e7e2e287f9d765 100644 (file)
@@ -770,6 +770,17 @@ ipcache_nbgethostbyname(const char *name, IPH * handler, void *handlerData)
 #endif
 }
 
+/// \ingroup IPCacheInternal
+static void
+ipcacheRegisterWithCacheManager(void)
+{
+    CacheManager::GetInstance()->
+        registerAction("ipcache",
+                       "IP Cache Stats and Contents",
+                       stat_ipcache_get, 0, 1);
+}
+
+
 /**
  \ingroup IPCacheAPI
  *
@@ -810,16 +821,6 @@ ipcache_init(void)
     ipcacheRegisterWithCacheManager();
 }
 
-/// \ingroup IPCacheAPI
-void
-ipcacheRegisterWithCacheManager(void)
-{
-    CacheManager::GetInstance()->
-        registerAction("ipcache",
-                       "IP Cache Stats and Contents",
-                       stat_ipcache_get, 0, 1);
-}
-
 /**
  \ingroup IPCacheAPI
  *
index 9c4317e03654a6ac86f2bd403bce5f62bbdbbe8a..7970463d964eac90972a98daf02ae3fc196a755c 100644 (file)
@@ -962,11 +962,9 @@ mainInitialize(void)
 
         FwdState::initModule();
         /* register the modules in the cache manager menus */
-        // accessLogRegisterWithCacheManager(); //moved to accessLogInit()
         // asnRegisterWithCacheManager(); //moved to asnInit()
         // authenticateRegisterWithCacheManager(&Config.authConfiguration);
        //   moved authenticateInit()
-        // carpRegisterWithCacheManager(); //moved to carpInit()
 
         cbdataRegisterWithCacheManager();
         /* These use separate calls so that the comm loops can eventually
@@ -1047,7 +1045,7 @@ mainInitialize(void)
 
     neighbors_init();
 
-    neighborsRegisterWithCacheManager();
+    // neighborsRegisterWithCacheManager(); //moved to neighbors_init()
 
     if (Config.chroot_dir)
         no_suid();
index 3ffcb4751fc0fafd80b404179c8ae7576977decf..aa28ee9caf4e012edb7d502954a381ed38971aac 100644 (file)
@@ -488,6 +488,21 @@ neighborRemove(peer * target)
     first_ping = Config.peers;
 }
 
+static void
+neighborsRegisterWithCacheManager()
+{
+    CacheManager *manager = CacheManager::GetInstance();
+    manager->registerAction("server_list",
+                           "Peer Cache Statistics",
+                           neighborDumpPeers, 0, 1);
+
+    if (theInIcpConnection >= 0) {
+        manager->registerAction("non_peers",
+                               "List of Unknown sites sending ICP messages",
+                               neighborDumpNonPeers, 0, 1);
+    }
+}
+
 void
 neighbors_init(void)
 {
@@ -551,21 +566,6 @@ neighbors_init(void)
     nul.FreeAddrInfo(AI);
 }
 
-void
-neighborsRegisterWithCacheManager()
-{
-    CacheManager *manager = CacheManager::GetInstance();
-    manager->registerAction("server_list",
-                           "Peer Cache Statistics",
-                           neighborDumpPeers, 0, 1);
-
-    if (theInIcpConnection >= 0) {
-        manager->registerAction("non_peers",
-                               "List of Unknown sites sending ICP messages",
-                               neighborDumpNonPeers, 0, 1);
-    }
-}
-
 int
 neighborsUdpPing(HttpRequest * request,
                  StoreEntry * entry,
index fe38729b024f90da01ee41b68450378ee8c24e10..666b204a4c2b2c3e980c5291f1090bfbe42b2482 100644 (file)
@@ -886,6 +886,15 @@ netdbExchangeDone(void *data)
 
 #endif /* USE_ICMP */
 
+static void
+netdbRegisterWitHCacheManager(void)
+{
+#if USE_ICMP
+    CacheManager::GetInstance()->
+        registerAction("netdb", "Network Measurement Database", netdbDump, 0, 1);
+#endif
+}
+
 /* PUBLIC FUNCTIONS */
 
 void
@@ -914,15 +923,6 @@ netdbInit(void)
 #endif
 }
 
-void
-netdbRegisterWitHCacheManager(void)
-{
-#if USE_ICMP
-    CacheManager::GetInstance()->
-        registerAction("netdb", "Network Measurement Database", netdbDump, 0, 1);
-#endif
-}
-
 void
 netdbPingSite(const char *hostname)
 {
old mode 100755 (executable)
new mode 100644 (file)
index 48c494adbb877f0638e3cef14ebeeb88efbbdece..3ab251642ccf496345073ba21e2deedfd310127d 100644 (file)
@@ -83,7 +83,6 @@ SQUIDCEXTERN void parse_IPAddress_list_token(IPAddress_list **, char *);
 /* client_side.c - FD related client side routines */
 
 SQUIDCEXTERN void clientdbInit(void);
-extern void clientdbRegisterWithCacheManager(void);
 
 SQUIDCEXTERN void clientdbUpdate(const IPAddress &, log_type, protocol_t, size_t);
 
@@ -135,13 +134,11 @@ SQUIDCEXTERN void disk_init(void);
 
 SQUIDCEXTERN void dnsShutdown(void);
 SQUIDCEXTERN void dnsInit(void);
-extern void dnsRegisterWithCacheManager(void);
 SQUIDCEXTERN void dnsSubmit(const char *lookup, HLPCB * callback, void *data);
 
 /* dns_internal.c */
 SQUIDCEXTERN void idnsInit(void);
 SQUIDCEXTERN void idnsShutdown(void);
-extern void idnsRegisterWithCacheManager(void);
 SQUIDCEXTERN void idnsALookup(const char *, IDNSCB *, void *);
 
 SQUIDCEXTERN void idnsPTRLookup(const IPAddress &, IDNSCB *, void *);
@@ -167,7 +164,6 @@ SQUIDCEXTERN void fqdncache_nbgethostbyaddr(IPAddress &, FQDNH *, void *);
 
 SQUIDCEXTERN const char *fqdncache_gethostbyaddr(IPAddress &, int flags);
 SQUIDCEXTERN void fqdncache_init(void);
-extern void fqdncacheRegisterWithCacheManager(void);
 SQUIDCEXTERN void fqdnStats(StoreEntry *);
 SQUIDCEXTERN void fqdncacheReleaseInvalid(const char *);
 
@@ -342,7 +338,6 @@ SQUIDCEXTERN const ipcache_addrs *ipcache_gethostbyname(const char *, int flags)
 SQUIDCEXTERN void ipcacheInvalidate(const char *);
 SQUIDCEXTERN void ipcacheInvalidateNegative(const char *);
 SQUIDCEXTERN void ipcache_init(void);
-extern void ipcacheRegisterWithCacheManager(void);
 SQUIDCEXTERN void stat_ipcache_get(StoreEntry *);
 SQUIDCEXTERN void ipcacheCycleAddr(const char *name, ipcache_addrs *);
 
@@ -391,7 +386,6 @@ SQUIDCEXTERN void neighborAddAcl(const char *, const char *);
 SQUIDCEXTERN void neighborsUdpAck(const cache_key *, icp_common_t *, const IPAddress &);
 SQUIDCEXTERN void neighborAdd(const char *, const char *, int, int, int, int, int);
 SQUIDCEXTERN void neighbors_init(void);
-extern void neighborsRegisterWithCacheManager();
 SQUIDCEXTERN peer *peerFindByName(const char *);
 SQUIDCEXTERN peer *peerFindByNameAndPort(const char *, unsigned short);
 SQUIDCEXTERN peer *getDefaultParent(HttpRequest * request);
@@ -415,7 +409,6 @@ SQUIDCEXTERN int peerHTTPOkay(const peer *, HttpRequest *);
 SQUIDCEXTERN peer *whichPeer(const IPAddress &from);
 
 SQUIDCEXTERN void netdbInit(void);
-extern void netdbRegisterWitHCacheManager(void);
 
 SQUIDCEXTERN void netdbHandlePingReply(const IPAddress &from, int hops, int rtt);
 SQUIDCEXTERN void netdbPingSite(const char *hostname);
@@ -453,7 +446,6 @@ unsigned long getOutgoingTOS(HttpRequest * request);
 SQUIDCEXTERN void urnStart(HttpRequest *, StoreEntry *);
 
 SQUIDCEXTERN void redirectInit(void);
-extern void redirectRegisterWithCacheManager(void);
 SQUIDCEXTERN void redirectShutdown(void);
 
 extern void refreshAddToList(const char *, int, time_t, int, time_t);
@@ -464,7 +456,6 @@ extern int refreshCheckHTCP(const StoreEntry *, HttpRequest *);
 extern int refreshCheckDigest(const StoreEntry *, time_t delta);
 extern time_t getMaxAge(const char *url);
 extern void refreshInit(void);
-extern void refreshRegisterWithCacheManager(void);
 extern const refresh_t *refreshLimits(const char *url);
 
 extern void serverConnectionsClose(void);
@@ -477,7 +468,6 @@ extern void start_announce(void *unused);
 extern void waisStart(FwdState *);
 
 SQUIDCEXTERN void statInit(void);
-extern void statRegisterWithCacheManager(void);
 SQUIDCEXTERN void statFreeMemory(void);
 SQUIDCEXTERN double median_svc_get(int, int);
 SQUIDCEXTERN void pconnHistCount(int, int);
@@ -538,7 +528,6 @@ SQUIDCEXTERN void storeLog(int tag, const StoreEntry * e);
 SQUIDCEXTERN void storeLogRotate(void);
 SQUIDCEXTERN void storeLogClose(void);
 SQUIDCEXTERN void storeLogOpen(void);
-SQUIDCEXTERN void storeLogRegisterWithCacheManager(void);
 
 
 /*
@@ -563,7 +552,6 @@ SQUIDCEXTERN HASHCMP storeKeyHashCmp;
  * store_digest.c
  */
 SQUIDCEXTERN void storeDigestInit(void);
-extern void storeDigestRegisterWithCacheManager(void);
 SQUIDCEXTERN void storeDigestNoteStoreReady(void);
 SQUIDCEXTERN void storeDigestScheduleRebuild(void);
 SQUIDCEXTERN void storeDigestDel(const StoreEntry * entry);
@@ -588,7 +576,8 @@ SQUIDCEXTERN void storeSwapInStart(store_client *);
  */
 SQUIDCEXTERN store_client *storeClientListAdd(StoreEntry * e, void *data);
 SQUIDCEXTERN int storeClientCopyPending(store_client *, StoreEntry * e, void *data);
-SQUIDCEXTERN int storeUnregister(store_client * sc, StoreEntry * e, void *data);
+SQUIDCEXTERN int storeUnregister(store_client * sc, StoreEntry * e, void *data)
+;
 SQUIDCEXTERN int storePendingNClients(const StoreEntry * e);
 SQUIDCEXTERN int storeClientIsThisAClient(store_client * sc, void *someClient);
 
@@ -729,7 +718,6 @@ SQUIDCEXTERN const char *internalHostname(void);
 SQUIDCEXTERN int internalHostnameIs(const char *);
 
 SQUIDCEXTERN void carpInit(void);
-extern void carpRegisterWithCacheManager();
 SQUIDCEXTERN peer *carpSelectParent(HttpRequest *);
 
 
index e5c311cf55cef9f7b1e710b8bf82fac1605f8428..45c923c8cddf55a2b9fb75e6595d8939bf51aeba 100644 (file)
@@ -176,6 +176,13 @@ redirectStart(ClientHttpRequest * http, RH * handler, void *data)
     helperSubmit(redirectors, buf, redirectHandleReply, r);
 }
 
+static void
+redirectRegisterWithCacheManager(void)
+{
+    CacheManager::GetInstance()->
+        registerAction("redirector", "URL Redirector Stats", redirectStats, 0, 1);
+}
+
 void
 redirectInit(void)
 {
@@ -205,13 +212,6 @@ redirectInit(void)
     }
 }
 
-void
-redirectRegisterWithCacheManager(void)
-{
-    CacheManager::GetInstance()->
-        registerAction("redirector", "URL Redirector Stats", redirectStats, 0, 1);
-}
-
 void
 redirectShutdown(void)
 {
index 399023b0a7c164539fd252180b9734eaccd41d4f..e19b3da8e72b89db70f8d315d9364f67570eb19f 100644 (file)
@@ -574,6 +574,13 @@ refreshStats(StoreEntry * sentry)
         refreshCountsStats(sentry, &refreshCounts[i]);
 }
 
+static void
+refreshRegisterWithCacheManager(void)
+{
+    CacheManager::GetInstance()->
+        registerAction("refresh", "Refresh Algorithm Statistics", refreshStats, 0, 1);
+}
+
 void
 refreshInit(void)
 {
@@ -599,10 +606,3 @@ refreshInit(void)
 
     refreshRegisterWithCacheManager();
 }
-
-void
-refreshRegisterWithCacheManager(void)
-{
-    CacheManager::GetInstance()->
-        registerAction("refresh", "Refresh Algorithm Statistics", refreshStats, 0, 1);
-}
index c73fd0edd6dd488deb52df1f99e4611339c97a65..cc1a8594ce9dcb5c35a990f0b5d9e9499e0833a7 100644 (file)
@@ -1006,31 +1006,7 @@ statAvgDump(StoreEntry * sentry, int minutes, int hours)
     storeAppendPrintf(sentry, "cpu_usage = %f%%\n", dpercent(ct, dt));
 }
 
-
-void
-statInit(void)
-{
-    int i;
-    debugs(18, 5, "statInit: Initializing...");
-
-    for (i = 0; i < N_COUNT_HIST; i++)
-        statCountersInit(&CountHist[i]);
-
-    for (i = 0; i < N_COUNT_HOUR_HIST; i++)
-        statCountersInit(&CountHourHist[i]);
-
-    statCountersInit(&statCounter);
-
-    eventAdd("statAvgTick", statAvgTick, NULL, (double) COUNT_INTERVAL, 1);
-
-    ClientActiveRequests.head = NULL;
-
-    ClientActiveRequests.tail = NULL;
-
-    statRegisterWithCacheManager();
-}
-
-void
+static void
 statRegisterWithCacheManager(void)
 {
     CacheManager *manager = CacheManager::GetInstance();
@@ -1072,6 +1048,30 @@ statRegisterWithCacheManager(void)
 #endif
 }
 
+
+void
+statInit(void)
+{
+    int i;
+    debugs(18, 5, "statInit: Initializing...");
+
+    for (i = 0; i < N_COUNT_HIST; i++)
+        statCountersInit(&CountHist[i]);
+
+    for (i = 0; i < N_COUNT_HOUR_HIST; i++)
+        statCountersInit(&CountHourHist[i]);
+
+    statCountersInit(&statCounter);
+
+    eventAdd("statAvgTick", statAvgTick, NULL, (double) COUNT_INTERVAL, 1);
+
+    ClientActiveRequests.head = NULL;
+
+    ClientActiveRequests.tail = NULL;
+
+    statRegisterWithCacheManager();
+}
+
 static void
 statAvgTick(void *notused)
 {
index 01e131fdf13a91d759398d598362bb3377c29bf0..ad10563c2ff515bc6222693dfdbe0c96c876dd9a 100644 (file)
@@ -101,6 +101,13 @@ static void storeDigestAdd(const StoreEntry *);
 
 #endif /* USE_CACHE_DIGESTS */
 
+static void
+storeDigestRegisterWithCacheManager(void)
+{
+    CacheManager::GetInstance()->
+        registerAction("store_digest", "Store Digest", storeDigestReport, 0, 1);
+}
+
 /*
  * PUBLIC FUNCTIONS
  */
@@ -132,13 +139,6 @@ storeDigestInit(void)
 #endif
 }
 
-void
-storeDigestRegisterWithCacheManager(void)
-{
-    CacheManager::GetInstance()->
-        registerAction("store_digest", "Store Digest", storeDigestReport, 0, 1);
-}
-
 /* called when store_rebuild completes */
 void
 storeDigestNoteStoreReady(void)
index 247acd040b5a06ee48e739b43268c82f894f043f..2b2912243f809b6d302db5de48f638a48f9b3f70 100644 (file)
@@ -124,6 +124,14 @@ storeLogClose(void)
     storelog = NULL;
 }
 
+static void
+storeLogRegisterWithCacheManager(void)
+{
+    CacheManager::GetInstance()->
+        registerAction("store_log_tags", "Histogram of store.log tags",
+                       storeLogTagsHist, 0, 1);
+}
+
 void
 storeLogOpen(void)
 {
@@ -137,14 +145,6 @@ storeLogOpen(void)
     storelog = logfileOpen(Config.Log.store, 0, 1);
 }
 
-void
-storeLogRegisterWithCacheManager(void)
-{
-    CacheManager::GetInstance()->
-        registerAction("store_log_tags", "Histogram of store.log tags",
-                       storeLogTagsHist, 0, 1);
-}
-
 void
 storeLogTagsHist(StoreEntry *e)
 {
old mode 100755 (executable)
new mode 100644 (file)
old mode 100755 (executable)
new mode 100644 (file)