Commit 7f63d84e authored by Rusty Russell's avatar Rusty Russell

licence->license: US English is the standard for code.

      
If a Swedish-speaking Finn writes code in English, why should I complain about
a few weird spellings?
parent a0ac303d
...@@ -32,7 +32,7 @@ ...@@ -32,7 +32,7 @@
* } * }
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -92,7 +92,7 @@ ...@@ -92,7 +92,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -81,7 +81,7 @@ ...@@ -81,7 +81,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: GPL (3 or any later version) * License: GPL (3 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -43,7 +43,7 @@ ...@@ -43,7 +43,7 @@
* *
* Author: Joey Adams * Author: Joey Adams
* Version: 0.1.1 * Version: 0.1.1
* Licence: BSD * License: BSD
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
* vals[i] = random(); * vals[i] = random();
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
* *
* This version uses macros to be typesafe on platforms which support it. * This version uses macros to be typesafe on platforms which support it.
* *
* Licence: LGPL * License: LGPL
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
* *
* Example: * Example:
......
...@@ -11,7 +11,7 @@ ...@@ -11,7 +11,7 @@
* *
* asort does both. * asort does both.
* *
* Licence: LGPL * License: LGPL
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
* *
* Example: * Example:
......
...@@ -225,7 +225,7 @@ ...@@ -225,7 +225,7 @@
* *
* Author: Joey Adams * Author: Joey Adams
* Version: 0.1.0 * Version: 0.1.0
* Licence: BSD * License: BSD
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -33,7 +33,7 @@ ...@@ -33,7 +33,7 @@
* return (char *)foo; * return (char *)foo;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -41,7 +41,7 @@ ...@@ -41,7 +41,7 @@
* } * }
* *
* Author: Joey Adams * Author: Joey Adams
* Licence: MIT * License: MIT
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
* since they have to use sizeof() which can only distiguish between types of * since they have to use sizeof() which can only distiguish between types of
* different size. * different size.
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -19,7 +19,7 @@ ...@@ -19,7 +19,7 @@
* - IS_COMPILE_CONSTANT * - IS_COMPILE_CONSTANT
* For using different tradeoffs for compiletime vs runtime evaluation. * For using different tradeoffs for compiletime vs runtime evaluation.
* *
* Licence: LGPL (3 or any later version) * License: LGPL (3 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
* *
* Example: * Example:
......
...@@ -46,7 +46,7 @@ ...@@ -46,7 +46,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -26,7 +26,7 @@ ...@@ -26,7 +26,7 @@
* exit(0); * exit(0);
* } * }
* *
* Licence: GPL (v2 or any later version) * License: GPL (v2 or any later version)
* Author: Gary S. Brown, Clay Haapala * Author: Gary S. Brown, Clay Haapala
* Maintainer: Rusty Russell <rusty@rustcorp.com.au> * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
*/ */
......
...@@ -67,7 +67,7 @@ ...@@ -67,7 +67,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (v2 or any later version) * License: LGPL (v2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
* exit(0); * exit(0);
* } * }
* *
* Licence: BSD (2 clause, ie. MIT) * License: BSD (2 clause, ie. MIT)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
* exit(0); * exit(0);
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
* The stable ones will always give the same results on any computer, * The stable ones will always give the same results on any computer,
* and on any version of this package. * and on any version of this package.
* *
* Licence: Public Domain * License: Public Domain
* Maintainer: Rusty Russell <rusty@rustcorp.com.au> * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
* Author: Bob Jenkins <bob_jenkins@burtleburtle.net> * Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
*/ */
......
...@@ -101,7 +101,7 @@ ...@@ -101,7 +101,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: GPLv2 (or later) * License: GPLv2 (or later)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -36,7 +36,7 @@ ...@@ -36,7 +36,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: GPL (2 or any later version) * License: GPL (2 or any later version)
* Maintainer: Rusty Russell <rusty@rustcorp.com.au> * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
* Author: Jim Houston <jim.houston@ccur.com> * Author: Jim Houston <jim.houston@ccur.com>
*/ */
......
...@@ -9,7 +9,7 @@ ...@@ -9,7 +9,7 @@
* help you annotate rare paths in your code for the convenience of the * help you annotate rare paths in your code for the convenience of the
* compiler and the reader. * compiler and the reader.
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
* *
* Example: * Example:
......
...@@ -52,7 +52,7 @@ ...@@ -52,7 +52,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -31,7 +31,7 @@ ...@@ -31,7 +31,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -45,7 +45,7 @@ ...@@ -45,7 +45,7 @@
* return true; * return true;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -24,7 +24,7 @@ ...@@ -24,7 +24,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* *
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -49,7 +49,7 @@ ...@@ -49,7 +49,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: GPL (3 or any later version) * License: GPL (3 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -28,7 +28,7 @@ ...@@ -28,7 +28,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -65,7 +65,7 @@ ...@@ -65,7 +65,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -23,7 +23,7 @@ ...@@ -23,7 +23,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -35,7 +35,7 @@ ...@@ -35,7 +35,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -89,7 +89,7 @@ ...@@ -89,7 +89,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -129,7 +129,7 @@ ...@@ -129,7 +129,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: GPL (2 or any later version) * License: GPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -40,7 +40,7 @@ ...@@ -40,7 +40,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (3 or any later version) * License: LGPL (3 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -63,7 +63,7 @@ ...@@ -63,7 +63,7 @@
* *
* Author: Andrew Tridgell, Jeremy Allison, Rusty Russell * Author: Andrew Tridgell, Jeremy Allison, Rusty Russell
* *
* Licence: LGPLv3 (or later) * License: LGPLv3 (or later)
* *
* Fails: valgrind-tests // valgrind breaks fcntl locks. * Fails: valgrind-tests // valgrind breaks fcntl locks.
*/ */
......
...@@ -62,7 +62,7 @@ ...@@ -62,7 +62,7 @@
* *
* Author: Rusty Russell * Author: Rusty Russell
* *
* Licence: LGPLv3 (or later) * License: LGPLv3 (or later)
* *
* Fails: * Fails:
* valgrind-tests // hash needs --partial-loads-ok=yes. * valgrind-tests // hash needs --partial-loads-ok=yes.
......
...@@ -133,7 +133,7 @@ ...@@ -133,7 +133,7 @@
* return 0; * return 0;
* } * }
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* Author: Rusty Russell <rusty@rustcorp.com.au> * Author: Rusty Russell <rusty@rustcorp.com.au>
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -37,7 +37,7 @@ ...@@ -37,7 +37,7 @@
* wwviaudio_cancel_all_sounds(); * wwviaudio_cancel_all_sounds();
* wwviaduio_stop_portaudio(); * wwviaduio_stop_portaudio();
* *
* Licence: LGPL (2 or any later version) * License: LGPL (2 or any later version)
* *
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
......
...@@ -16,7 +16,7 @@ int main(int argc, char *argv[]) ...@@ -16,7 +16,7 @@ int main(int argc, char *argv[])
if (argc < 3) if (argc < 3)
errx(1, "Usage: doc_extract [--function=<funcname>] TYPE <file>...\n" errx(1, "Usage: doc_extract [--function=<funcname>] TYPE <file>...\n"
"Where TYPE is functions|author|licence|maintainer|summary|description|example|all"); "Where TYPE is functions|author|license|maintainer|summary|description|example|all");
if (strstarts(argv[1], "--function=")) { if (strstarts(argv[1], "--function=")) {
function = argv[1] + strlen("--function="); function = argv[1] + strlen("--function=");
......
...@@ -13,6 +13,7 @@ $example=extract_field('example',$module_path); ...@@ -13,6 +13,7 @@ $example=extract_field('example',$module_path);
$dependencies=htmlspecialchars(shell_exec('tools/ccan_depends --direct '.$module_path)); $dependencies=htmlspecialchars(shell_exec('tools/ccan_depends --direct '.$module_path));
$extdepends=htmlspecialchars(shell_exec('tools/ccan_depends --compile --non-ccan '.$module_path)); $extdepends=htmlspecialchars(shell_exec('tools/ccan_depends --compile --non-ccan '.$module_path));
$licence=extract_field('licence',$module_path); $licence=extract_field('licence',$module_path);
$license=extract_field('license',$module_path);
?> ?>
<table align="center" bgcolor="lightblue" width="70%" border="0" cellpadding="3" cellspacing="1"> <table align="center" bgcolor="lightblue" width="70%" border="0" cellpadding="3" cellspacing="1">
<tr align="center" bgcolor="FFFFCC"> <tr align="center" bgcolor="FFFFCC">
...@@ -97,7 +98,15 @@ if ($example) { ...@@ -97,7 +98,15 @@ if ($example) {
if ($licence) { if ($licence) {
?> ?>
<tr align="left" bgcolor="FFFFCC"> <tr align="left" bgcolor="FFFFCC">
<td><h3>Licence: </h3> <?=$licence?></td> <td><h3>License: </h3> <?=$licence?></td>
</tr>
<?php
}
if ($license) {
?>
<tr align="left" bgcolor="FFFFCC">
<td><h3>License: </h3> <?=$license?></td>
</tr> </tr>
<?php <?php
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment