X-Git-Url: http://git.ozlabs.org/?a=blobdiff_plain;f=ccan%2Fcontainer_of%2Ftest%2Fcompile_fail-types.c;h=cae1c7abd20a1ed36ae6072faa8b50d9aea2644e;hb=06c4af3163e2bd99999a93a478d1308ea39c5a79;hp=69f02daf289d3ff8cfe82db09029f49f777babac;hpb=650c775ff00cccd03fc84e7789a03c51d9839004;p=ccan diff --git a/ccan/container_of/test/compile_fail-types.c b/ccan/container_of/test/compile_fail-types.c index 69f02daf..cae1c7ab 100644 --- a/ccan/container_of/test/compile_fail-types.c +++ b/ccan/container_of/test/compile_fail-types.c @@ -1,4 +1,4 @@ -#include "container_of/container_of.h" +#include #include struct foo { @@ -17,5 +17,6 @@ int main(int argc, char *argv[]) #else foop = NULL; #endif + (void) foop; /* Suppress unused-but-set-variable warning. */ return intp == NULL; }