From 8af645e79e750108a04bfb645798c7c7dbf8ca45 Mon Sep 17 00:00:00 2001 From: Alex Rousskov Date: Thu, 28 Oct 2010 14:01:27 -0600 Subject: [PATCH] Use the new Cache Manager registration API for the newly added /dev/poll code. --- src/comm_devpoll.cc | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/comm_devpoll.cc b/src/comm_devpoll.cc index 25cb3630b6..c42ecea31f 100644 --- a/src/comm_devpoll.cc +++ b/src/comm_devpoll.cc @@ -55,9 +55,9 @@ #if USE_DEVPOLL -#include "CacheManager.h" #include "Store.h" #include "fde.h" +#include "mgr/Registration.h" #include "SquidTime.h" #if HAVE_SYS_DEVPOLL_H @@ -181,8 +181,7 @@ static void commIncomingStats(StoreEntry *sentry) static void commDevPollRegisterWithCacheManager(void) { - CacheManager::GetInstance()-> - registerAction( + Mgr::RegisterAction( "comm_devpoll_incoming", "comm_incoming() stats", commIncomingStats, -- 2.47.2