]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - src/dlink.cc
SourceFormat Enforcement
[thirdparty/squid.git] / src / dlink.cc
index 6094bb612428ed1d21abc6441612328127e816c4..656aa0a1d17d359a49940368914c9b250c0f6d03 100644 (file)
@@ -1,14 +1,18 @@
 /*
- * $Id$
+ * Copyright (C) 1996-2015 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.
  */
-#include "config.h"
-#include "dlink.h"
 
-/* dlink are Mem-pooled */
-#include "MemPool.h"
-/* for xstrdup() */
-#include "util.h"
+#include "squid.h"
+#include "dlink.h"
 
+/* dlink_node use explicit alloc()/freeOne()
+ * XXX: convert to MEMPROXY_CLASS() API
+ */
+#include "mem/Pool.h"
 
 dlink_list ClientActiveRequests;
 
@@ -100,3 +104,4 @@ dlinkDelete(dlink_node * m, dlink_list * list)
 
     m->next = m->prev = NULL;
 }
+