From 75fbab53dcb347de2688cd4eaba654eb77e12808 Mon Sep 17 00:00:00 2001 From: Automatic source maintenance Date: Fri, 16 Dec 2011 18:26:31 -0700 Subject: [PATCH] SourceFormat Enforcement --- src/HttpHeaderStat.h | 3 +- src/StatCounters.h | 6 ++- src/StatHist.cc | 2 +- src/StatHist.h | 3 +- src/protos.h | 96 ++++++++++++++++++++++---------------------- 5 files changed, 57 insertions(+), 53 deletions(-) diff --git a/src/HttpHeaderStat.h b/src/HttpHeaderStat.h index 9ebdd3f457..7fcff9d045 100644 --- a/src/HttpHeaderStat.h +++ b/src/HttpHeaderStat.h @@ -11,7 +11,8 @@ /* per header statistics */ #include "StatHist.h" -class HttpHeaderStat { +class HttpHeaderStat +{ public: const char *label; HttpHeaderMask *owner_mask; diff --git a/src/StatCounters.h b/src/StatCounters.h index 8568ff9990..cfedcadc90 100644 --- a/src/StatCounters.h +++ b/src/StatCounters.h @@ -36,7 +36,8 @@ #if USE_CACHE_DIGESTS /** statistics for cache digests and other hit "predictors" */ -class CacheDigestGuessStats { +class CacheDigestGuessStats +{ public: int trueHits; int falseHits; @@ -52,7 +53,8 @@ public: * \note if you add a field to StatCounters, * you MUST sync statCountersInitSpecial, statCountersClean, and statCountersCopy */ -class StatCounters { +class StatCounters +{ public: struct { int clients; diff --git a/src/StatHist.cc b/src/StatHist.cc index ab74eaaf04..82a95ef742 100644 --- a/src/StatHist.cc +++ b/src/StatHist.cc @@ -72,7 +72,7 @@ StatHist::init(int newCapacity, hbase_f * val_in_, hbase_f * val_out_, double ne void StatHist::clear() { - for(int i=0;i