Commit aa722914 authored by Rusty Russell's avatar Rusty Russell

Document license requirements.

parent 023f704e
...@@ -30,6 +30,8 @@ ...@@ -30,6 +30,8 @@
* exit(0); * exit(0);
* } * }
* } * }
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -88,6 +88,8 @@ ...@@ -88,6 +88,8 @@
* } * }
* return 0; * return 0;
* } * }
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -6,6 +6,8 @@ ...@@ -6,6 +6,8 @@
* antithread - Accelerated Native Technology Implementation of "threads" * antithread - Accelerated Native Technology Implementation of "threads"
* *
* Threads suck. Antithreads try not to. FIXME. * Threads suck. Antithreads try not to. FIXME.
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -24,6 +24,8 @@ ...@@ -24,6 +24,8 @@
* BUILD_ASSERT(offsetof(struct foo, string) == 0); * BUILD_ASSERT(offsetof(struct foo, string) == 0);
* return (char *)foo; * return (char *)foo;
* } * }
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -13,6 +13,8 @@ ...@@ -13,6 +13,8 @@
* On compilers which don't support typeof() these routines are less effective, * 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 * since they have to use sizeof() which can only distiguish between types of
* different size. * different size.
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -32,6 +32,8 @@ ...@@ -32,6 +32,8 @@
* *
* register_timer(&info.timer); * register_timer(&info.timer);
* ... * ...
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -11,6 +11,8 @@ ...@@ -11,6 +11,8 @@
* may change if we find better or faster hash algorithms in future. * may change if we find better or faster hash algorithms in future.
* 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
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -48,6 +48,8 @@ ...@@ -48,6 +48,8 @@
* printf("\n"); * printf("\n");
* return 0; * return 0;
* } * }
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -40,6 +40,8 @@ ...@@ -40,6 +40,8 @@
* } * }
* return true; * return true;
* } * }
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -21,6 +21,8 @@ ...@@ -21,6 +21,8 @@
* printf("Magic option set\n"); * printf("Magic option set\n");
* return 0; * return 0;
* } * }
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -88,6 +88,8 @@ ...@@ -88,6 +88,8 @@
* talloc_free(cmd); * talloc_free(cmd);
* return 0; * return 0;
* } * }
*
* Licence: GPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
...@@ -45,6 +45,8 @@ ...@@ -45,6 +45,8 @@
* On compilers which don't support the extensions required * On compilers which don't support the extensions required
* cast_if_type() and friend become an unconditional cast, so your * cast_if_type() and friend become an unconditional cast, so your
* code will compile but you won't get type checking. * code will compile but you won't get type checking.
*
* Licence: LGPL (2 or any later version)
*/ */
int main(int argc, char *argv[]) int main(int argc, char *argv[])
{ {
......
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