]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/StoreStats.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / StoreStats.cc
index ac950e1fc2939fa5fc555039379e189711a2db8c..569c806db3b8e4698ca22ad632ab2292798677ad 100644 (file)
@@ -1,20 +1,22 @@
 /*
- * $Id$
- *
- * DEBUG: section 20    Storage Manager Statistics
+ * Copyright (C) 1996-2017 The Squid Software Foundation and contributors
  *
+ * Squid software is distributed under GPLv2+ license and includes
+ * contributions from numerous individuals and organizations.
+ * Please see the COPYING and CONTRIBUTORS files for details.
  */
 
+/* DEBUG: section 20    Storage Manager Statistics */
+
 #include "squid.h"
-#include "protos.h" /* for xmemset only */
 #include "StoreStats.h"
-
+#include "tools.h"
 
 /* StoreInfoStats */
 
 StoreInfoStats::StoreInfoStats()
 {
-    xmemset(this, 0, sizeof(*this));
+    memset(this, 0, sizeof(*this));
 }
 
 StoreInfoStats &
@@ -51,12 +53,10 @@ StoreInfoStats::operator +=(const StoreInfoStats &stats)
     return *this;
 }
 
-
-
 /* StoreIoStats */
 
 StoreIoStats::StoreIoStats()
 {
-    xmemset(this, 0, sizeof(*this));
+    memset(this, 0, sizeof(*this));
 }