X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fbuild_assert%2F_info.c;h=d2fe3d9c80fc240daf4cef1e3b8b9113e4a152df;hp=b61aeee0e41f00a244c48f5f9b58464702d6defd;hb=96d128229c74480497ecb230d0e3014bbc113e95;hpb=aa722914ca280ad0c4d133118ad1deebe41e1f5e diff --git a/ccan/build_assert/_info.c b/ccan/build_assert/_info.c index b61aeee0..d2fe3d9c 100644 --- a/ccan/build_assert/_info.c +++ b/ccan/build_assert/_info.c @@ -18,6 +18,14 @@ * you would catch such changes in your code like so: * * Example: + * #include + * #include + * + * struct foo { + * char string[5]; + * int x; + * }; + * * char *foo_string(struct foo *foo) * { * // This trick requires that the string be first in the structure