Browse Source

Document license requirements.

Rusty Russell 17 years ago
parent
commit
aa722914ca

+ 2 - 0
ccan/alignof/_info.c

@@ -30,6 +30,8 @@
  *			exit(0);
  *		}
  *	}
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/alloc/_info.c

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

+ 2 - 0
ccan/antithread/_info.c

@@ -6,6 +6,8 @@
  * antithread - Accelerated Native Technology Implementation of "threads"
  *
  * Threads suck.  Antithreads try not to.  FIXME.
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/build_assert/_info.c

@@ -24,6 +24,8 @@
  *		BUILD_ASSERT(offsetof(struct foo, string) == 0);
  *		return (char *)foo;
  *	}
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/check_type/_info.c

@@ -13,6 +13,8 @@
  * On compilers which don't support typeof() these routines are less effective,
  * since they have to use sizeof() which can only distiguish between types of
  * different size.
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/container_of/_info.c

@@ -32,6 +32,8 @@
  *
  *		register_timer(&info.timer);
  *		...
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/hash/_info.c

@@ -11,6 +11,8 @@
  * may change if we find better or faster hash algorithms in future.
  * The stable ones will always give the same results on any computer,
  * and on any version of this package.
+ *
+ * Licence: Public Domain
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/list/_info.c

@@ -48,6 +48,8 @@
  *		printf("\n");
  *		return 0;
  *	}
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/noerr/_info.c

@@ -40,6 +40,8 @@
  *		}
  *		return true;
  *	}
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/string/_info.c

@@ -21,6 +21,8 @@
  *			printf("Magic option set\n");
  *		return 0;
  *	}
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/talloc/_info.c

@@ -88,6 +88,8 @@
  *		talloc_free(cmd);
  *		return 0;
  *	}
+ *
+ * Licence: GPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {

+ 2 - 0
ccan/typesafe_cb/_info.c

@@ -45,6 +45,8 @@
  * On compilers which don't support the extensions required
  * cast_if_type() and friend become an unconditional cast, so your
  * code will compile but you won't get type checking.
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {