Changes between Version 6 and Version 7 of CStyle


Ignore:
Timestamp:
2013-09-16T12:32:26Z (11 years ago)
Author:
Jiri Svoboda
Comment:

License and copyright headers

Legend:

Unmodified
Added
Removed
Modified
  • CStyle

    v6 v7  
    8383    * Specifically, do not rely on an {{{$include "common.h"}}} to blanket-include all header files to all your source modules
    8484
     85=== License header and copyright messages ===
     86
     87 * All newly created (original) HelenOS source files (.c and .h) should be licensed under the 3-clause BSD license in the form:
     88
     89{{{
     90/*
     91 * Copyright (c) 2013 John Smith
     92 * All rights reserved.
     93 *
     94 * Redistribution and use in source and binary forms, with or without
     95 * modification, are permitted provided that the following conditions
     96 * are met:
     97 *
     98 * - Redistributions of source code must retain the above copyright
     99 *   notice, this list of conditions and the following disclaimer.
     100 * - Redistributions in binary form must reproduce the above copyright
     101 *   notice, this list of conditions and the following disclaimer in the
     102 *   documentation and/or other materials provided with the distribution.
     103 * - The name of the author may not be used to endorse or promote products
     104 *   derived from this software without specific prior written permission.
     105 *
     106 * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
     107 * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
     108 * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
     109 * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
     110 * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
     111 * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
     112 * DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
     113 * THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
     114 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
     115 * THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
     116 */
     117}}}
     118
     119 * Copyright lines should always be in the form
     120{{{
     121 * Copyright (c) <year> <Author's name>
     122}}}
     123
     124Where <year> is the year the file was created by that person for new files.
     125For modified files <year> is the year of last modification.
     126
    85127=== Miscellaneous ===
    86128