]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/StoreStats.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / StoreStats.cc
index 371d4184d3cd2650174bc6139b1784f6bb34871e..569c806db3b8e4698ca22ad632ab2292798677ad 100644 (file)
@@ -1,19 +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 &
@@ -54,6 +57,6 @@ StoreInfoStats::operator +=(const StoreInfoStats &stats)
 
 StoreIoStats::StoreIoStats()
 {
-    xmemset(this, 0, sizeof(*this));
+    memset(this, 0, sizeof(*this));
 }