From 3d79b6ee36b250644e6cf70eee8e3076d94cbb7f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Mon, 19 Dec 2022 20:26:13 -0500 Subject: Use Zix attributes directly --- test/headers/meson.build | 2 +- test/headers/test_headers.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) (limited to 'test/headers') diff --git a/test/headers/meson.build b/test/headers/meson.build index 6cb14f6e..bf8a2456 100644 --- a/test/headers/meson.build +++ b/test/headers/meson.build @@ -37,7 +37,7 @@ test( 'test_headers', files('test_headers.c'), c_args: header_c_suppressions, - dependencies: serd_dep, + dependencies: [serd_dep, zix_dep], ), suite: 'unit', ) diff --git a/test/headers/test_headers.c b/test/headers/test_headers.c index 62be0976..48b1814b 100644 --- a/test/headers/test_headers.c +++ b/test/headers/test_headers.c @@ -2,8 +2,9 @@ // SPDX-License-Identifier: ISC #include "serd/serd.h" // IWYU pragma: keep +#include "zix/attributes.h" -SERD_CONST_FUNC int +ZIX_CONST_FUNC int main(void) { return 0; -- cgit v1.2.1