]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/comm/ModDevPoll.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / comm / ModDevPoll.cc
index ba90476feca51ee3bc0ddcb226c2e23e7686c224..e9ba660c125cddd6dbf92621c66092ff5e31bcad 100644 (file)
@@ -100,7 +100,6 @@ static struct {
     int size; /**< maximum number of elements in array */
 } devpoll_update;
 
-
 /* STATIC VARIABLES */
 static int devpoll_fd; /**< handle to /dev/poll device */
 static int max_poll_time = 1000; /**< maximum milliseconds to spend in poll */
@@ -112,7 +111,6 @@ static int dpoll_nfds; /**< maximum number of poll results */
 /* PROTOTYPES */
 static void commDevPollRegisterWithCacheManager(void);
 
-
 /* PRIVATE FUNCTIONS */
 /** \brief Write batched file descriptor event changes to poll device
  *
@@ -174,7 +172,6 @@ comm_update_fd(int fd, int events)
     devpoll_update.pfds[devpoll_update.cur].revents = 0;
 }
 
-
 static void commIncomingStats(StoreEntry *sentry)
 {
     storeAppendPrintf(sentry, "Total number of devpoll loops: %ld\n", statCounter.select_loops);
@@ -182,7 +179,6 @@ static void commIncomingStats(StoreEntry *sentry)
     statCounter.select_fds_hist.dump(sentry, statHistIntDumper);
 }
 
-
 static void
 commDevPollRegisterWithCacheManager(void)
 {
@@ -195,7 +191,6 @@ commDevPollRegisterWithCacheManager(void)
     );
 }
 
-
 /* PUBLIC FUNCTIONS */
 
 /** \brief Initialise /dev/poll support
@@ -319,7 +314,6 @@ Comm::SetSelect(int fd, unsigned int type, PF * handler, void *client_data, time
         F->timeout = squid_curtime + timeout;
 }
 
-
 /** \brief Clear polling of file handle (both read and write)
  *
  * @param fd file descriptor to clear polling on
@@ -331,7 +325,6 @@ Comm::ResetSelect(int fd)
     SetSelect(fd, COMM_SELECT_READ, NULL, NULL, 0);
 }
 
-
 /** \brief Do poll and trigger callback functions as appropriate
  *
  * Check all connections for new connections and input data that is to be