diff options
author | David Robillard <d@drobilla.net> | 2022-12-19 20:26:13 -0500 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2023-12-02 18:49:07 -0500 |
commit | 3d79b6ee36b250644e6cf70eee8e3076d94cbb7f (patch) | |
tree | 0f734bfcfd278d6eef5ca0e82c008b7f2a6f7bba /test/headers | |
parent | 7fb4c5264b91d5a5ce9f13a9fb4308088b31fcd4 (diff) | |
download | serd-3d79b6ee36b250644e6cf70eee8e3076d94cbb7f.tar.gz serd-3d79b6ee36b250644e6cf70eee8e3076d94cbb7f.tar.bz2 serd-3d79b6ee36b250644e6cf70eee8e3076d94cbb7f.zip |
Use Zix attributes directly
Diffstat (limited to 'test/headers')
-rw-r--r-- | test/headers/meson.build | 2 | ||||
-rw-r--r-- | test/headers/test_headers.c | 3 |
2 files changed, 3 insertions, 2 deletions
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; |