From aa722914ca280ad0c4d133118ad1deebe41e1f5e Mon Sep 17 00:00:00 2001 From: Rusty Russell Date: Fri, 12 Sep 2008 15:28:40 +1000 Subject: [PATCH] Document license requirements. --- ccan/alignof/_info.c | 2 ++ ccan/alloc/_info.c | 2 ++ ccan/antithread/_info.c | 2 ++ ccan/build_assert/_info.c | 2 ++ ccan/check_type/_info.c | 2 ++ ccan/container_of/_info.c | 2 ++ ccan/hash/_info.c | 2 ++ ccan/list/_info.c | 2 ++ ccan/noerr/_info.c | 2 ++ ccan/string/_info.c | 2 ++ ccan/talloc/_info.c | 2 ++ ccan/typesafe_cb/_info.c | 2 ++ 12 files changed, 24 insertions(+) diff --git a/ccan/alignof/_info.c b/ccan/alignof/_info.c index 4cccba33..7d81b29d 100644 --- a/ccan/alignof/_info.c +++ b/ccan/alignof/_info.c @@ -30,6 +30,8 @@ * exit(0); * } * } + * + * Licence: LGPL (2 or any later version) */ int main(int argc, char *argv[]) { diff --git a/ccan/alloc/_info.c b/ccan/alloc/_info.c index 03e20afc..61c00464 100644 --- a/ccan/alloc/_info.c +++ b/ccan/alloc/_info.c @@ -88,6 +88,8 @@ * } * return 0; * } + * + * Licence: LGPL (2 or any later version) */ int main(int argc, char *argv[]) { diff --git a/ccan/antithread/_info.c b/ccan/antithread/_info.c index 81c23e8c..87a16ab5 100644 --- a/ccan/antithread/_info.c +++ b/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[]) { diff --git a/ccan/build_assert/_info.c b/ccan/build_assert/_info.c index 555aae21..b61aeee0 100644 --- a/ccan/build_assert/_info.c +++ b/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[]) { diff --git a/ccan/check_type/_info.c b/ccan/check_type/_info.c index 176e445a..42d3328a 100644 --- a/ccan/check_type/_info.c +++ b/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[]) { diff --git a/ccan/container_of/_info.c b/ccan/container_of/_info.c index 96c12d88..194fcaba 100644 --- a/ccan/container_of/_info.c +++ b/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[]) { diff --git a/ccan/hash/_info.c b/ccan/hash/_info.c index 9ce4e3ac..2ec72725 100644 --- a/ccan/hash/_info.c +++ b/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[]) { diff --git a/ccan/list/_info.c b/ccan/list/_info.c index dc3c3e64..7061762f 100644 --- a/ccan/list/_info.c +++ b/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[]) { diff --git a/ccan/noerr/_info.c b/ccan/noerr/_info.c index 96fbbcd1..32ced7d8 100644 --- a/ccan/noerr/_info.c +++ b/ccan/noerr/_info.c @@ -40,6 +40,8 @@ * } * return true; * } + * + * Licence: LGPL (2 or any later version) */ int main(int argc, char *argv[]) { diff --git a/ccan/string/_info.c b/ccan/string/_info.c index e8c4061a..873d3607 100644 --- a/ccan/string/_info.c +++ b/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[]) { diff --git a/ccan/talloc/_info.c b/ccan/talloc/_info.c index bc48736f..2a978801 100644 --- a/ccan/talloc/_info.c +++ b/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[]) { diff --git a/ccan/typesafe_cb/_info.c b/ccan/typesafe_cb/_info.c index 725b2665..5e35eb76 100644 --- a/ccan/typesafe_cb/_info.c +++ b/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[]) { -- 2.39.2