aboutsummaryrefslogtreecommitdiff
path: root/ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c
diff options
context:
space:
mode:
Diffstat (limited to 'ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c')
-rw-r--r--ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c b/ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c
index 77bf94c..72f9ad1 100644
--- a/ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c
+++ b/ccan/build_assert/test/run-BUILD_ASSERT_OR_ZERO.c
@@ -1,11 +1,8 @@
#include <ccan/build_assert/build_assert.h>
#include <ccan/tap/tap.h>
-int __attribute__((const)) main(int argc, char *argv[])
+int main(void)
{
- (void)argc;
- (void)argv;
-
plan_tests(1);
ok1(BUILD_ASSERT_OR_ZERO(1 == 1) == 0);
return exit_status();