]> git.ipfire.org Git - thirdparty/squid.git/blobdiff - doc/Programming-Guide/02_CodingConventions.dox
Docs: Copyright updates for 2018 (#114)
[thirdparty/squid.git] / doc / Programming-Guide / 02_CodingConventions.dox
index bb99c8d2f859c40a66ccbe77731c3f1cd4bb2b85..394e2977052748678ae98beb87e3aa1a59c067a1 100644 (file)
@@ -1,3 +1,11 @@
+/*
+ * 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.
+ */
+
 /**
 \page Conventions Coding and Other Conventions used in Squid
 
@@ -11,7 +19,7 @@
 \par
         If you need to use specific width types - such as
         a 16 bit unsigned integer, use one of the following types. To access
-        them simply include "config.h".
+        them simply include "squid.h".
 
 \verbatim
         int16_t    -  16 bit signed.
@@ -176,7 +184,7 @@ fubar(char *g, int glen, void *state) {
      * then passes the state off to FUBAR.
      * No check for null-termination is done.
      */
-   xmemcpy(g, glen, state->foo_end_ptr );
+   memcpy(g, glen, state->foo_end_ptr );
    state->foo_end_ptr += glen;
    fubar(state);
 }