Browse Source

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?

Rusty Russell 15 years ago
parent
commit
7f63d84eb7

+ 1 - 1
ccan/alignof/_info

@@ -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>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/alloc/_info

@@ -92,7 +92,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/antithread/_info

@@ -81,7 +81,7 @@
  *		return 0;
  *	}
  *
- * Licence: GPL (3 or any later version)
+ * License: GPL (3 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/array/_info

@@ -43,7 +43,7 @@
  *
  * Author: Joey Adams
  * Version: 0.1.1
- * Licence: BSD
+ * License: BSD
  */
 int main(int argc, char *argv[])
 {

+ 1 - 1
ccan/array_size/_info

@@ -25,7 +25,7 @@
  *			vals[i] = random();
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/asearch/_info

@@ -10,7 +10,7 @@
  *
  * This version uses macros to be typesafe on platforms which support it.
  *
- * Licence: LGPL
+ * License: LGPL
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example:

+ 1 - 1
ccan/asort/_info

@@ -11,7 +11,7 @@
  *
  * asort does both.
  *
- * Licence: LGPL
+ * License: LGPL
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  *
  * Example:

+ 1 - 1
ccan/btree/_info

@@ -225,7 +225,7 @@
  *
  * Author: Joey Adams
  * Version: 0.1.0
- * Licence: BSD
+ * License: BSD
  */
 int main(int argc, char *argv[])
 {

+ 1 - 1
ccan/build_assert/_info

@@ -33,7 +33,7 @@
  *		return (char *)foo;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/charset/_info

@@ -41,7 +41,7 @@
  *	}
  *
  * Author: Joey Adams
- * Licence: MIT
+ * License: MIT
  */
 int main(int argc, char *argv[])
 {

+ 1 - 1
ccan/check_type/_info

@@ -14,7 +14,7 @@
  * since they have to use sizeof() which can only distiguish between types of
  * different size.
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/compiler/_info

@@ -19,7 +19,7 @@
  * - IS_COMPILE_CONSTANT
  *	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>
  *
  * Example:

+ 1 - 1
ccan/container_of/_info

@@ -46,7 +46,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/crc/_info

@@ -26,7 +26,7 @@
  *		exit(0);
  *	}
  *
- * Licence: GPL (v2 or any later version)
+ * License: GPL (v2 or any later version)
  * Author: Gary S. Brown, Clay Haapala
  * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
  */

+ 1 - 1
ccan/crcsync/_info

@@ -67,7 +67,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (v2 or any later version)
+ * License: LGPL (v2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/daemonize/_info

@@ -35,7 +35,7 @@
  *		exit(0);
  *	}
  *
- * Licence: BSD (2 clause, ie. MIT)
+ * License: BSD (2 clause, ie. MIT)
  */
 int main(int argc, char *argv[])
 {

+ 1 - 1
ccan/endian/_info

@@ -37,7 +37,7 @@
  *		exit(0);
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/grab_file/_info

@@ -35,7 +35,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/hash/_info

@@ -13,7 +13,7 @@
  * The stable ones will always give the same results on any computer,
  * and on any version of this package.
  *
- * Licence: Public Domain
+ * License: Public Domain
  * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Bob Jenkins <bob_jenkins@burtleburtle.net>
  */

+ 1 - 1
ccan/hashtable/_info

@@ -101,7 +101,7 @@
  *		return 0;
  *	}
  *
- * Licence: GPLv2 (or later)
+ * License: GPLv2 (or later)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/idtree/_info

@@ -36,7 +36,7 @@
  *		return 0;
  *	}
  *
- * Licence: GPL (2 or any later version)
+ * License: GPL (2 or any later version)
  * Maintainer: Rusty Russell <rusty@rustcorp.com.au>
  * Author: Jim Houston <jim.houston@ccur.com>
  */

+ 1 - 1
ccan/likely/_info

@@ -9,7 +9,7 @@
  * help you annotate rare paths in your code for the convenience of the
  * 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>
  *
  * Example:

+ 1 - 1
ccan/list/_info

@@ -52,7 +52,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/md4/_info

@@ -31,7 +31,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 1 - 1
ccan/noerr/_info

@@ -45,7 +45,7 @@
  *		return true;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/ogg_to_pcm/_info

@@ -24,7 +24,7 @@
  * 		return 0;
  * 	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  *
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/opt/_info

@@ -49,7 +49,7 @@
  * 	return 0;
  * }
  *
- * Licence: GPL (3 or any later version)
+ * License: GPL (3 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/read_write_all/_info

@@ -28,7 +28,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/short_types/_info

@@ -65,7 +65,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/sparse_bsearch/_info

@@ -50,7 +50,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/str/_info

@@ -23,7 +23,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/str_talloc/_info

@@ -35,7 +35,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/talloc/_info

@@ -89,7 +89,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 1 - 1
ccan/talloc_link/_info

@@ -129,7 +129,7 @@
  *		return 0;
  *	}
  *
- * Licence: GPL (2 or any later version)
+ * License: GPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/tally/_info

@@ -40,7 +40,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (3 or any later version)
+ * License: LGPL (3 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/tdb/_info

@@ -63,7 +63,7 @@
  *
  * Author: Andrew Tridgell, Jeremy Allison, Rusty Russell
  *
- * Licence: LGPLv3 (or later)
+ * License: LGPLv3 (or later)
  *
  * Fails: valgrind-tests // valgrind breaks fcntl locks.
  */

+ 1 - 1
ccan/tdb2/_info

@@ -62,7 +62,7 @@
  *
  * Author: Rusty Russell
  *
- * Licence: LGPLv3 (or later)
+ * License: LGPLv3 (or later)
  *
  * Fails:
  *	valgrind-tests // hash needs --partial-loads-ok=yes.

+ 1 - 1
ccan/typesafe_cb/_info

@@ -133,7 +133,7 @@
  *		return 0;
  *	}
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  * Author: Rusty Russell <rusty@rustcorp.com.au>
  */
 int main(int argc, char *argv[])

+ 1 - 1
ccan/wwviaudio/_info

@@ -37,7 +37,7 @@
  *      wwviaudio_cancel_all_sounds();
  *      wwviaduio_stop_portaudio();
  *
- * Licence: LGPL (2 or any later version)
+ * License: LGPL (2 or any later version)
  *
  */
 int main(int argc, char *argv[])

+ 1 - 1
tools/doc_extract.c

@@ -16,7 +16,7 @@ int main(int argc, char *argv[])
 
 	if (argc < 3)
 		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=")) {
 		function = argv[1] + strlen("--function=");

+ 10 - 1
web/staticmoduleinfo.php

@@ -13,6 +13,7 @@ $example=extract_field('example',$module_path);
 $dependencies=htmlspecialchars(shell_exec('tools/ccan_depends --direct '.$module_path));
 $extdepends=htmlspecialchars(shell_exec('tools/ccan_depends --compile --non-ccan '.$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">
 <tr align="center" bgcolor="FFFFCC">
@@ -97,7 +98,15 @@ if ($example) {
 if ($licence) {
 ?>
 <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>
 <?php
 }