X-Git-Url: http://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fbuild_assert%2F_info;h=284c6cf5b8c6591185949cec18db37e6768778fa;hp=d2fe3d9c80fc240daf4cef1e3b8b9113e4a152df;hb=8458811a4126c22635b974718bfbf2876c893c37;hpb=570c9c555f076e74f46141bb42b5d1d7ac89f632 diff --git a/ccan/build_assert/_info b/ccan/build_assert/_info index d2fe3d9c..284c6cf5 100644 --- a/ccan/build_assert/_info +++ b/ccan/build_assert/_info @@ -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: Public domain + * Author: Rusty Russell */ int main(int argc, char *argv[]) {