X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fbuild_assert%2F_info;h=97ebe6c966836753456f7d45fc45aef1dde94809;hb=38ec541c4fd76d971a4959e31cd2a9ff113237ca;hp=d2fe3d9c80fc240daf4cef1e3b8b9113e4a152df;hpb=570c9c555f076e74f46141bb42b5d1d7ac89f632;p=ccan diff --git a/ccan/build_assert/_info b/ccan/build_assert/_info index d2fe3d9c..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,15 @@ * 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[]) {