]> git.ozlabs.org Git - ccan/commitdiff
Document license requirements.
authorRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Sep 2008 05:28:40 +0000 (15:28 +1000)
committerRusty Russell <rusty@rustcorp.com.au>
Fri, 12 Sep 2008 05:28:40 +0000 (15:28 +1000)
12 files changed:
ccan/alignof/_info.c
ccan/alloc/_info.c
ccan/antithread/_info.c
ccan/build_assert/_info.c
ccan/check_type/_info.c
ccan/container_of/_info.c
ccan/hash/_info.c
ccan/list/_info.c
ccan/noerr/_info.c
ccan/string/_info.c
ccan/talloc/_info.c
ccan/typesafe_cb/_info.c

index 4cccba335e34763aab96c934cd8b140c715dc7fe..7d81b29d8b48778779cbccc4aa2739c854232a38 100644 (file)
@@ -30,6 +30,8 @@
  *                     exit(0);
  *             }
  *     }
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {
index 03e20afc2687c57f65bff6f9b83075499b8a0dd8..61c00464470bd2f8ebae40c18cb59048a34de8c4 100644 (file)
@@ -88,6 +88,8 @@
  *             }
  *             return 0;
  *     }
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {
index 81c23e8ce1ebdc32d287e3b9bc1eea787dfe2011..87a16ab5add45b540c2701e8ae50f10f13086a5e 100644 (file)
@@ -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[])
 {
index 555aae21b2236bfae4402697ac8c3b05f2dd3125..b61aeee0e41f00a244c48f5f9b58464702d6defd 100644 (file)
@@ -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[])
 {
index 176e445a4e58a3195f5287b759a74a3eff7e2716..42d3328ad2a95c370002b70bf3a1b4cdf1f012cd 100644 (file)
@@ -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[])
 {
index 96c12d88cdeb0d27f6ee30ab25c572810623c73d..194fcabaf4c07c20e5004633f1fb9d1ec311e57b 100644 (file)
@@ -32,6 +32,8 @@
  *
  *             register_timer(&info.timer);
  *             ...
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {
index 9ce4e3ac067a9e2711d443411846387f89be0a80..2ec7272529cc4b464e7f16f94a510d6dd16d2076 100644 (file)
@@ -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[])
 {
index dc3c3e64c2a35f90f839e171d4bf6eab3131a410..7061762fda6c8f7672de2d80b7db20b6ad87343b 100644 (file)
@@ -48,6 +48,8 @@
  *             printf("\n");
  *             return 0;
  *     }
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {
index 96fbbcd133497cac43e1a02a12c79a23793cd891..32ced7d8ed7b791609ec3546300adbd1c65fbe17 100644 (file)
@@ -40,6 +40,8 @@
  *             }
  *             return true;
  *     }
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {
index e8c4061ae08c63a4618b4eb46994459a8d02f364..873d36075a8dd3e88e0e5197d497bb483f0d7ef0 100644 (file)
@@ -21,6 +21,8 @@
  *                     printf("Magic option set\n");
  *             return 0;
  *     }
+ *
+ * Licence: LGPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {
index bc48736f6a242f07d1e6d3d7af95f35a1ef6f8ba..2a978801cdb4fd87d2309e9891339e09fb3ec999 100644 (file)
@@ -88,6 +88,8 @@
  *             talloc_free(cmd);
  *             return 0;
  *     }
+ *
+ * Licence: GPL (2 or any later version)
  */
 int main(int argc, char *argv[])
 {
index 725b2665eabc3dc2b271965be8bfcb2e42223ca8..5e35eb7652ece2a30b2d64118de5e9a790cb8c57 100644 (file)
@@ -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[])
 {