Add copyright and license header information to CODING_STYLE
authorJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Wed, 6 Jun 2012 16:11:53 +0000 (17:11 +0100)
committerJannis Pohlmann <jannis.pohlmann@codethink.co.uk>
Wed, 6 Jun 2012 16:11:53 +0000 (17:11 +0100)
CODING_STYLE

index 6a69606..99f56cb 100644 (file)
@@ -10,6 +10,7 @@ In the following, the most important requirements for writing consistent
 code for the GENIVI Boot Manager are explained.
 
 Table of Contents:
+  * Copyright and License Header
   * Line Width
   * Whitespace
   * Indentation and Braces
@@ -22,6 +23,22 @@ Table of Contents:
   * Loops and Loop Termination
 
 
+Copyright and License Header
+============================
+
+In all source files, add the following copyright and license header at
+as the first lines:
+
+/* vi:set et ai sw=2 sts=2 ts=2: */
+/* -
+ * Copyright (c) 2012 GENIVI.
+ *
+ * This Source Code Form is subject to the terms of the Mozilla Public
+ * License, v. 2.0. If a copy of the MPL was not distributed with this
+ * file, You can obtain one at http://mozilla.org/MPL/2.0/.
+ */
+
+
 Line Width
 ==========