From 6a89d2e44617bf39e0d44f3a4369b7c43d9a7e89 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 23 Nov 2024 16:25:03 -0500 Subject: Use angle brackets for library includes --- src/base64.c | 2 +- src/base64.h | 2 +- src/byte_sink.h | 2 +- src/byte_source.c | 2 +- src/byte_source.h | 2 +- src/env.c | 2 +- src/n3.c | 2 +- src/node.c | 2 +- src/node.h | 2 +- src/reader.c | 3 ++- src/reader.h | 2 +- src/serd_internal.h | 2 +- src/serdi.c | 2 +- src/string.c | 2 +- src/string_utils.h | 2 +- src/uri.c | 2 +- src/uri_utils.h | 4 ++-- src/writer.c | 2 +- test/headers/test_headers.c | 2 +- test/test_env.c | 2 +- test/test_free_null.c | 2 +- test/test_node.c | 2 +- test/test_reader.c | 2 +- test/test_reader_writer.c | 2 +- test/test_string.c | 2 +- test/test_uri.c | 2 +- test/test_writer.c | 2 +- 27 files changed, 29 insertions(+), 28 deletions(-) diff --git a/src/base64.c b/src/base64.c index 42d296b3..ce8af162 100644 --- a/src/base64.c +++ b/src/base64.c @@ -6,7 +6,7 @@ #include "serd_internal.h" #include "string_utils.h" -#include "serd/serd.h" +#include #include #include diff --git a/src/base64.h b/src/base64.h index 21a6878c..4a4675e7 100644 --- a/src/base64.h +++ b/src/base64.h @@ -4,7 +4,7 @@ #ifndef SERD_SRC_BASE64_H #define SERD_SRC_BASE64_H -#include "serd/serd.h" +#include #include #include diff --git a/src/byte_sink.h b/src/byte_sink.h index b99b5551..327c1b82 100644 --- a/src/byte_sink.h +++ b/src/byte_sink.h @@ -7,7 +7,7 @@ #include "serd_internal.h" #include "system.h" -#include "serd/serd.h" +#include #include #include diff --git a/src/byte_source.c b/src/byte_source.c index 122dc0f9..74827741 100644 --- a/src/byte_source.c +++ b/src/byte_source.c @@ -5,7 +5,7 @@ #include "system.h" -#include "serd/serd.h" +#include #include #include diff --git a/src/byte_source.h b/src/byte_source.h index 961fae72..ac0bc306 100644 --- a/src/byte_source.h +++ b/src/byte_source.h @@ -4,7 +4,7 @@ #ifndef SERD_SRC_BYTE_SOURCE_H #define SERD_SRC_BYTE_SOURCE_H -#include "serd/serd.h" +#include #include #include diff --git a/src/env.c b/src/env.c index 75ae6485..2185d022 100644 --- a/src/env.c +++ b/src/env.c @@ -1,7 +1,7 @@ // Copyright 2011-2023 David Robillard // SPDX-License-Identifier: ISC -#include "serd/serd.h" +#include #include #include diff --git a/src/n3.c b/src/n3.c index b0c958e2..31dc5d45 100644 --- a/src/n3.c +++ b/src/n3.c @@ -8,7 +8,7 @@ #include "try.h" #include "uri_utils.h" -#include "serd/serd.h" +#include #include #include diff --git a/src/node.c b/src/node.c index e435093e..0956ec97 100644 --- a/src/node.c +++ b/src/node.c @@ -6,7 +6,7 @@ #include "base64.h" #include "string_utils.h" -#include "serd/serd.h" +#include #include #include diff --git a/src/node.h b/src/node.h index c0886391..ce53a1be 100644 --- a/src/node.h +++ b/src/node.h @@ -4,7 +4,7 @@ #ifndef SERD_SRC_NODE_H #define SERD_SRC_NODE_H -#include "serd/serd.h" +#include #include diff --git a/src/reader.c b/src/reader.c index 5cd978bf..b2563c49 100644 --- a/src/reader.c +++ b/src/reader.c @@ -4,10 +4,11 @@ #include "reader.h" #include "byte_source.h" +#include "serd_internal.h" #include "stack.h" #include "system.h" -#include "serd_internal.h" +#include #include #include diff --git a/src/reader.h b/src/reader.h index a867ffc0..d7b06a98 100644 --- a/src/reader.h +++ b/src/reader.h @@ -8,7 +8,7 @@ #include "byte_source.h" #include "stack.h" -#include "serd/serd.h" +#include #include #include diff --git a/src/serd_internal.h b/src/serd_internal.h index 5508c111..ead6d796 100644 --- a/src/serd_internal.h +++ b/src/serd_internal.h @@ -4,7 +4,7 @@ #ifndef SERD_SRC_SERD_INTERNAL_H #define SERD_SRC_SERD_INTERNAL_H -#include "serd/serd.h" +#include #include diff --git a/src/serdi.c b/src/serdi.c index 23f27b95..c19bd212 100644 --- a/src/serdi.c +++ b/src/serdi.c @@ -4,7 +4,7 @@ #include "serd_config.h" #include "string_utils.h" -#include "serd/serd.h" +#include #ifdef _WIN32 # ifdef _MSC_VER diff --git a/src/string.c b/src/string.c index 936989c2..1a9d62d4 100644 --- a/src/string.c +++ b/src/string.c @@ -3,7 +3,7 @@ #include "string_utils.h" -#include "serd/serd.h" +#include #include #include diff --git a/src/string_utils.h b/src/string_utils.h index 7c8348ca..6a098991 100644 --- a/src/string_utils.h +++ b/src/string_utils.h @@ -4,7 +4,7 @@ #ifndef SERD_SRC_STRING_UTILS_H #define SERD_SRC_STRING_UTILS_H -#include "serd/serd.h" +#include #include #include diff --git a/src/uri.c b/src/uri.c index b18cd3aa..e9be9c3c 100644 --- a/src/uri.c +++ b/src/uri.c @@ -5,7 +5,7 @@ #include "uri_utils.h" #include "warnings.h" -#include "serd/serd.h" +#include #include #include diff --git a/src/uri_utils.h b/src/uri_utils.h index 4005b47d..1e7adb82 100644 --- a/src/uri_utils.h +++ b/src/uri_utils.h @@ -4,10 +4,10 @@ #ifndef SERD_SRC_URI_UTILS_H #define SERD_SRC_URI_UTILS_H -#include "serd/serd.h" - #include "string_utils.h" +#include + #include #include #include diff --git a/src/writer.c b/src/writer.c index 3905cb9c..4623c388 100644 --- a/src/writer.c +++ b/src/writer.c @@ -10,7 +10,7 @@ #include "uri_utils.h" #include "warnings.h" -#include "serd/serd.h" +#include #include #include diff --git a/test/headers/test_headers.c b/test/headers/test_headers.c index 62be0976..2f923c7e 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 "serd/serd.h" // IWYU pragma: keep +#include // IWYU pragma: keep SERD_CONST_FUNC int main(void) diff --git a/test/test_env.c b/test/test_env.c index 903ae3f2..bd55e47e 100644 --- a/test/test_env.c +++ b/test/test_env.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "serd/serd.h" +#include #include #include diff --git a/test/test_free_null.c b/test/test_free_null.c index 96153c8d..2bc0b10c 100644 --- a/test/test_free_null.c +++ b/test/test_free_null.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "serd/serd.h" +#include #include diff --git a/test/test_node.c b/test/test_node.c index 28db00ea..eb432c40 100644 --- a/test/test_node.c +++ b/test/test_node.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "serd/serd.h" +#include #include #include diff --git a/test/test_reader.c b/test/test_reader.c index e185b915..1b6ecbfe 100644 --- a/test/test_reader.c +++ b/test/test_reader.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "serd/serd.h" +#include #ifdef _WIN32 # include diff --git a/test/test_reader_writer.c b/test/test_reader_writer.c index 515d5e5b..cbe33a4d 100644 --- a/test/test_reader_writer.c +++ b/test/test_reader_writer.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "serd/serd.h" +#include #ifdef _WIN32 # include diff --git a/test/test_string.c b/test/test_string.c index 1af3f45a..86b5d19e 100644 --- a/test/test_string.c +++ b/test/test_string.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "serd/serd.h" +#include #include #include diff --git a/test/test_uri.c b/test/test_uri.c index 7315a0fc..5177359c 100644 --- a/test/test_uri.c +++ b/test/test_uri.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "serd/serd.h" +#include #include #include diff --git a/test/test_writer.c b/test/test_writer.c index 9e94e139..e3aba50c 100644 --- a/test/test_writer.c +++ b/test/test_writer.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "serd/serd.h" +#include #include #include -- cgit v1.2.1