X-Git-Url: https://git.ozlabs.org/?p=ccan;a=blobdiff_plain;f=ccan%2Fbuild_assert%2Ftest%2Fcompile_fail-expr.c;h=6322eb3523a2e951c0835d6223773002b50f82df;hp=fa60d6899a7e5b162134af8fd7a0ef1a4e08c7c3;hb=HEAD;hpb=85a33135890965218010b79c89e4d3f4905727e3 diff --git a/ccan/build_assert/test/compile_fail-expr.c b/ccan/build_assert/test/compile_fail-expr.c index fa60d689..6322eb35 100644 --- a/ccan/build_assert/test/compile_fail-expr.c +++ b/ccan/build_assert/test/compile_fail-expr.c @@ -1,9 +1,9 @@ #include -int main(int argc, char *argv[]) +int main(void) { #ifdef FAIL - return EXPR_BUILD_ASSERT(1 == 0); + return BUILD_ASSERT_OR_ZERO(1 == 0); #else return 0; #endif