X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Ftcon%2Ftest%2Fcompile_ok-container.c;h=a8347f7aa8f5c302483800b671b8050cd8e12642;hp=9493c4dcc855ab9c375e445d1ea15605bf43407d;hb=1d415706a6e948fe6dcc3b5dab45812b297f77a1;hpb=cd2d09063cdfb0e730e7d3c344c85716d3217028 diff --git a/ccan/tcon/test/compile_ok-container.c b/ccan/tcon/test/compile_ok-container.c index 9493c4dc..a8347f7a 100644 --- a/ccan/tcon/test/compile_ok-container.c +++ b/ccan/tcon/test/compile_ok-container.c @@ -19,13 +19,13 @@ struct info_base { struct info_tcon { struct info_base base; - TCON(TCON_CONTAINER(concan, struct outer, inner)); + TCON(TCON_CONTAINER(fi, struct outer, inner)); }; int main(int argc, char *argv[]) { /* Const should work! */ - const struct outer *ovar; + const struct outer *ovar = NULL; struct outer *o; struct info_tcon info;