From 33d343f25ff41cab66cc679757d94f9af9b3e766 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Nov 2024 16:35:59 -0500 Subject: Use angle brackets for library includes and clean up include paths --- include/sratom/sratom.h | 10 +++++----- src/sratom.c | 18 +++++++++--------- test/headers/test_headers.c | 2 +- test/meson.build | 1 - test/test_sratom.c | 14 +++++++------- 5 files changed, 22 insertions(+), 23 deletions(-) diff --git a/include/sratom/sratom.h b/include/sratom/sratom.h index 643e8b8..9790030 100644 --- a/include/sratom/sratom.h +++ b/include/sratom/sratom.h @@ -6,11 +6,11 @@ #ifndef SRATOM_SRATOM_H #define SRATOM_SRATOM_H -#include "lv2/atom/atom.h" -#include "lv2/atom/forge.h" -#include "lv2/urid/urid.h" -#include "serd/serd.h" -#include "sord/sord.h" +#include +#include +#include +#include +#include #include #include diff --git a/src/sratom.c b/src/sratom.c index 0c27b88..579f42f 100644 --- a/src/sratom.c +++ b/src/sratom.c @@ -1,15 +1,15 @@ // Copyright 2012-2024 David Robillard // SPDX-License-Identifier: ISC -#include "sratom/sratom.h" - -#include "lv2/atom/atom.h" -#include "lv2/atom/forge.h" -#include "lv2/atom/util.h" -#include "lv2/midi/midi.h" -#include "lv2/urid/urid.h" -#include "serd/serd.h" -#include "sord/sord.h" +#include + +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/test/headers/test_headers.c b/test/headers/test_headers.c index f6b110f..c0cee5c 100644 --- a/test/headers/test_headers.c +++ b/test/headers/test_headers.c @@ -1,7 +1,7 @@ // Copyright 2022 David Robillard // SPDX-License-Identifier: ISC -#include "sratom/sratom.h" // IWYU pragma: keep +#include // IWYU pragma: keep #ifdef __GNUC__ __attribute__((const)) diff --git a/test/meson.build b/test/meson.build index 1e8b08f..1033d2f 100644 --- a/test/meson.build +++ b/test/meson.build @@ -20,7 +20,6 @@ test( test_sratom_source, c_args: c_suppressions, dependencies: [sratom_dep, serd_dep, sord_dep], - include_directories: include_directories('../src'), ), suite: 'unit', ) diff --git a/test/test_sratom.c b/test/test_sratom.c index 7e46ae5..336d50f 100644 --- a/test/test_sratom.c +++ b/test/test_sratom.c @@ -1,13 +1,13 @@ // Copyright 2012-2016 David Robillard // SPDX-License-Identifier: ISC -#include "lv2/atom/atom.h" -#include "lv2/atom/forge.h" -#include "lv2/atom/util.h" -#include "lv2/midi/midi.h" -#include "lv2/urid/urid.h" -#include "serd/serd.h" -#include "sratom/sratom.h" +#include +#include +#include +#include +#include +#include +#include #include #include -- cgit v1.2.1