X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fbuild_assert%2F_info;h=16a4a94c8f292c27665120023f503cfd33c61974;hb=d40331c745a6e4a56a3ea210ef9e1e264f7e6e5a;hp=d2fe3d9c80fc240daf4cef1e3b8b9113e4a152df;hpb=570c9c555f076e74f46141bb42b5d1d7ac89f632;p=ccan diff --git a/ccan/build_assert/_info b/ccan/build_assert/_info index d2fe3d9c..16a4a94c 100644 --- a/ccan/build_assert/_info +++ b/ccan/build_assert/_info @@ -26,7 +26,7 @@ * 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); @@ -34,6 +34,7 @@ * } * * Licence: LGPL (2 or any later version) + * Author: Rusty Russell */ int main(int argc, char *argv[]) {