X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcontainer_of%2Ftest%2Fcompile_fail-types.c;h=fbb97a9ee4f9db1df8f39b063086e18df3eb3994;hb=e7e57cbf6725debd99238ccd8e3bf273a8d7e61c;hp=cae1c7abd20a1ed36ae6072faa8b50d9aea2644e;hpb=f27c9672ef62379e09793dcf42725bf9c37f44bf;p=ccan diff --git a/ccan/container_of/test/compile_fail-types.c b/ccan/container_of/test/compile_fail-types.c index cae1c7ab..fbb97a9e 100644 --- a/ccan/container_of/test/compile_fail-types.c +++ b/ccan/container_of/test/compile_fail-types.c @@ -6,7 +6,7 @@ struct foo { char b; }; -int main(int argc, char *argv[]) +int main(void) { struct foo foo = { .a = 1, .b = 2 }, *foop; int *intp = &foo.a;