X-Git-Url: https://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcontainer_of%2Ftest%2Fcompile_fail-bad-type.c;h=55a911a1b006c770ab703483e6b53775a851a4cb;hb=870b63169c782ef0cc52687397e5b9a7125a61b0;hp=01dfd454597d0eb7d43244a3af81396e1648fc70;hpb=650c775ff00cccd03fc84e7789a03c51d9839004;p=ccan diff --git a/ccan/container_of/test/compile_fail-bad-type.c b/ccan/container_of/test/compile_fail-bad-type.c index 01dfd454..55a911a1 100644 --- a/ccan/container_of/test/compile_fail-bad-type.c +++ b/ccan/container_of/test/compile_fail-bad-type.c @@ -1,4 +1,4 @@ -#include "container_of/container_of.h" +#include #include struct foo { @@ -6,7 +6,7 @@ struct foo { char b; }; -int main(int argc, char *argv[]) +int main(void) { struct foo foo = { .a = 1, .b = 2 }; int *intp = &foo.a;