]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/StoreStats.cc
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / src / StoreStats.cc
index ac950e1fc2939fa5fc555039379e189711a2db8c..1a6b049712450dfc8388f9072334a5ab2f07f05b 100644 (file)
@@ -1,20 +1,22 @@
 /*
- * $Id$
- *
- * DEBUG: section 20    Storage Manager Statistics
+ * Copyright (C) 1996-2018 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));
 }