X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fbuild_assert%2F_info;h=97ebe6c966836753456f7d45fc45aef1dde94809;hp=cf939d794ce95ddd7829fd00b0ba9db48d2653c8;hb=fe21b246647e4694da5f76e0fd00e9a9f9e8c72e;hpb=faace1758e31f87ee2032cc04c6bb41e3cf8f12e diff --git a/ccan/build_assert/_info b/ccan/build_assert/_info index cf939d79..97ebe6c9 100644 --- a/ccan/build_assert/_info +++ b/ccan/build_assert/_info @@ -1,6 +1,6 @@ +#include "config.h" #include #include -#include "config.h" /** * build_assert - routines for build-time assertions @@ -26,14 +26,14 @@ * int x; * }; * - * char *foo_string(struct foo *foo) + * static char *foo_string(struct foo *foo) * { * // This trick requires that the string be first in the structure * BUILD_ASSERT(offsetof(struct foo, string) == 0); * return (char *)foo; * } * - * Licence: LGPL (2 or any later version) + * License: CC0 (Public domain) * Author: Rusty Russell */ int main(int argc, char *argv[])