diff options
56 files changed, 181 insertions, 169 deletions
diff --git a/benchmark/dict_bench.c b/benchmark/dict_bench.c index 6cb247a..b8a3c12 100644 --- a/benchmark/dict_bench.c +++ b/benchmark/dict_bench.c @@ -12,10 +12,10 @@ typedef struct { #define ZIX_HASH_KEY_TYPE ZixChunk #define ZIX_HASH_RECORD_TYPE ZixChunk -#include "zix/attributes.h" -#include "zix/digest.h" -#include "zix/hash.h" -#include "zix/status.h" +#include <zix/attributes.h> +#include <zix/digest.h> +#include <zix/hash.h> +#include <zix/status.h> ZIX_DISABLE_GLIB_WARNINGS #include <glib.h> diff --git a/benchmark/tree_bench.c b/benchmark/tree_bench.c index 2c8f896..a86140d 100644 --- a/benchmark/tree_bench.c +++ b/benchmark/tree_bench.c @@ -6,10 +6,10 @@ #include "../test/test_data.h" -#include "zix/attributes.h" -#include "zix/btree.h" -#include "zix/status.h" -#include "zix/tree.h" +#include <zix/attributes.h> +#include <zix/btree.h> +#include <zix/status.h> +#include <zix/tree.h> ZIX_DISABLE_GLIB_WARNINGS #include <glib.h> diff --git a/doc/overview_code.c b/doc/overview_code.c index 026467d..6835d9a 100644 --- a/doc/overview_code.c +++ b/doc/overview_code.c @@ -8,8 +8,8 @@ written such that it at least compiles and will run without crashing. */ -#include "zix/attributes.h" -#include "zix/string_view.h" +#include <zix/attributes.h> +#include <zix/string_view.h> #if defined(__GNUC__) # pragma GCC diagnostic push diff --git a/include/zix/allocator.h b/include/zix/allocator.h index 6c9a61d..5e796ff 100644 --- a/include/zix/allocator.h +++ b/include/zix/allocator.h @@ -4,7 +4,7 @@ #ifndef ZIX_ALLOCATOR_H #define ZIX_ALLOCATOR_H -#include "zix/attributes.h" +#include <zix/attributes.h> #include <stddef.h> diff --git a/include/zix/btree.h b/include/zix/btree.h index de9f788..f02148d 100644 --- a/include/zix/btree.h +++ b/include/zix/btree.h @@ -4,9 +4,9 @@ #ifndef ZIX_BTREE_H #define ZIX_BTREE_H -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> #include <stdbool.h> #include <stddef.h> diff --git a/include/zix/bump_allocator.h b/include/zix/bump_allocator.h index ecb2383..b5fdd7e 100644 --- a/include/zix/bump_allocator.h +++ b/include/zix/bump_allocator.h @@ -4,8 +4,8 @@ #ifndef ZIX_BUMP_ALLOCATOR_H #define ZIX_BUMP_ALLOCATOR_H -#include "zix/allocator.h" -#include "zix/attributes.h" +#include <zix/allocator.h> +#include <zix/attributes.h> #include <stddef.h> diff --git a/include/zix/digest.h b/include/zix/digest.h index 3b23c3f..82f5b28 100644 --- a/include/zix/digest.h +++ b/include/zix/digest.h @@ -4,7 +4,7 @@ #ifndef ZIX_DIGEST_H #define ZIX_DIGEST_H -#include "zix/attributes.h" +#include <zix/attributes.h> #include <stddef.h> #include <stdint.h> diff --git a/include/zix/filesystem.h b/include/zix/filesystem.h index 878cd93..84d7206 100644 --- a/include/zix/filesystem.h +++ b/include/zix/filesystem.h @@ -4,9 +4,9 @@ #ifndef ZIX_FILESYSTEM_H #define ZIX_FILESYSTEM_H -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> #if !(defined(_FILE_OFFSET_BITS) && _FILE_OFFSET_BITS == 64) # include <stddef.h> diff --git a/include/zix/hash.h b/include/zix/hash.h index 9447cd7..ec04b90 100644 --- a/include/zix/hash.h +++ b/include/zix/hash.h @@ -4,9 +4,9 @@ #ifndef ZIX_HASH_H #define ZIX_HASH_H -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> #include <stdbool.h> #include <stddef.h> diff --git a/include/zix/path.h b/include/zix/path.h index 3fed43a..692efef 100644 --- a/include/zix/path.h +++ b/include/zix/path.h @@ -4,9 +4,9 @@ #ifndef ZIX_PATH_H #define ZIX_PATH_H -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/string_view.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/string_view.h> #include <stdbool.h> diff --git a/include/zix/ring.h b/include/zix/ring.h index ec307cf..d4a1ef2 100644 --- a/include/zix/ring.h +++ b/include/zix/ring.h @@ -4,9 +4,9 @@ #ifndef ZIX_RING_H #define ZIX_RING_H -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> #include <stdint.h> diff --git a/include/zix/sem.h b/include/zix/sem.h index 545aa8a..88f4371 100644 --- a/include/zix/sem.h +++ b/include/zix/sem.h @@ -4,8 +4,8 @@ #ifndef ZIX_SEM_H #define ZIX_SEM_H -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/attributes.h> +#include <zix/status.h> #ifdef __APPLE__ # include <mach/mach.h> diff --git a/include/zix/status.h b/include/zix/status.h index fce27bc..d03160e 100644 --- a/include/zix/status.h +++ b/include/zix/status.h @@ -4,7 +4,7 @@ #ifndef ZIX_STATUS_H #define ZIX_STATUS_H -#include "zix/attributes.h" +#include <zix/attributes.h> ZIX_BEGIN_DECLS diff --git a/include/zix/string_view.h b/include/zix/string_view.h index d6f39c5..be15018 100644 --- a/include/zix/string_view.h +++ b/include/zix/string_view.h @@ -4,8 +4,8 @@ #ifndef ZIX_STRING_VIEW_H #define ZIX_STRING_VIEW_H -#include "zix/allocator.h" -#include "zix/attributes.h" +#include <zix/allocator.h> +#include <zix/attributes.h> #include <stdbool.h> #include <stddef.h> diff --git a/include/zix/thread.h b/include/zix/thread.h index dc9804c..77a6bf5 100644 --- a/include/zix/thread.h +++ b/include/zix/thread.h @@ -4,8 +4,8 @@ #ifndef ZIX_THREAD_H #define ZIX_THREAD_H -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/attributes.h> +#include <zix/status.h> #ifdef _WIN32 # include <windows.h> diff --git a/include/zix/tree.h b/include/zix/tree.h index 60bfe6c..2b3a0e3 100644 --- a/include/zix/tree.h +++ b/include/zix/tree.h @@ -4,9 +4,9 @@ #ifndef ZIX_TREE_H #define ZIX_TREE_H -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> #include <stdbool.h> #include <stddef.h> diff --git a/include/zix/zix.h b/include/zix/zix.h index ca72d35..4fcf238 100644 --- a/include/zix/zix.h +++ b/include/zix/zix.h @@ -16,9 +16,9 @@ @{ */ -#include "zix/attributes.h" -#include "zix/status.h" -#include "zix/string_view.h" +#include <zix/attributes.h> +#include <zix/status.h> +#include <zix/string_view.h> /** @} @@ -26,8 +26,8 @@ @{ */ -#include "zix/allocator.h" -#include "zix/bump_allocator.h" +#include <zix/allocator.h> +#include <zix/bump_allocator.h> /** @} @@ -35,7 +35,7 @@ @{ */ -#include "zix/digest.h" +#include <zix/digest.h> /** @} @@ -43,10 +43,10 @@ @{ */ -#include "zix/btree.h" -#include "zix/hash.h" -#include "zix/ring.h" -#include "zix/tree.h" +#include <zix/btree.h> +#include <zix/hash.h> +#include <zix/ring.h> +#include <zix/tree.h> /** @} @@ -54,8 +54,8 @@ @{ */ -#include "zix/sem.h" -#include "zix/thread.h" +#include <zix/sem.h> +#include <zix/thread.h> /** @} @@ -63,8 +63,8 @@ @{ */ -#include "zix/filesystem.h" -#include "zix/path.h" +#include <zix/filesystem.h> +#include <zix/path.h> /** @} diff --git a/src/allocator.c b/src/allocator.c index 09e3271..cb05f0d 100644 --- a/src/allocator.c +++ b/src/allocator.c @@ -1,9 +1,9 @@ // Copyright 2011-2021 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/allocator.h" +#include <zix/allocator.h> -#include "zix/attributes.h" +#include <zix/attributes.h> #include "zix_config.h" diff --git a/src/btree.c b/src/btree.c index 66f8a38..b762067 100644 --- a/src/btree.c +++ b/src/btree.c @@ -1,7 +1,11 @@ // Copyright 2011-2021 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/btree.h" +#include <zix/btree.h> + +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> #include <assert.h> #include <stdint.h> diff --git a/src/bump_allocator.c b/src/bump_allocator.c index 8096907..01c1652 100644 --- a/src/bump_allocator.c +++ b/src/bump_allocator.c @@ -1,10 +1,10 @@ // Copyright 2021 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/bump_allocator.h" +#include <zix/bump_allocator.h> -#include "zix/allocator.h" -#include "zix/attributes.h" +#include <zix/allocator.h> +#include <zix/attributes.h> #include <assert.h> #include <stddef.h> diff --git a/src/darwin/sem_darwin.c b/src/darwin/sem_darwin.c index 0ace564..dd5750b 100644 --- a/src/darwin/sem_darwin.c +++ b/src/darwin/sem_darwin.c @@ -1,9 +1,9 @@ // Copyright 2012-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/sem.h" +#include <zix/sem.h> -#include "zix/status.h" +#include <zix/status.h> #include <mach/mach.h> diff --git a/src/digest.c b/src/digest.c index bc65f90..c40b1cc 100644 --- a/src/digest.c +++ b/src/digest.c @@ -1,7 +1,7 @@ // Copyright 2012-2021 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/digest.h" +#include <zix/digest.h> #include <assert.h> #include <stdint.h> diff --git a/src/errno_status.c b/src/errno_status.c index 887158f..d992d02 100644 --- a/src/errno_status.c +++ b/src/errno_status.c @@ -3,7 +3,7 @@ #include "errno_status.h" -#include "zix/status.h" +#include <zix/status.h> #include <errno.h> #include <stddef.h> diff --git a/src/errno_status.h b/src/errno_status.h index 9c147db..969d0dc 100644 --- a/src/errno_status.h +++ b/src/errno_status.h @@ -4,8 +4,8 @@ #ifndef ZIX_ERRNO_STATUS_H #define ZIX_ERRNO_STATUS_H -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/attributes.h> +#include <zix/status.h> /// Return an errno value converted to a status code ZIX_CONST_FUNC ZixStatus diff --git a/src/filesystem.c b/src/filesystem.c index c6a1fa4..a142e32 100644 --- a/src/filesystem.c +++ b/src/filesystem.c @@ -1,13 +1,13 @@ // Copyright 2007-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/filesystem.h" +#include <zix/filesystem.h> #include "path_iter.h" #include "system.h" -#include "zix/allocator.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/status.h> #ifdef _WIN32 # include <direct.h> @@ -1,7 +1,10 @@ // Copyright 2011-2021 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/hash.h" +#include <zix/hash.h> + +#include <zix/allocator.h> +#include <zix/status.h> #include <assert.h> #include <stdbool.h> @@ -1,12 +1,14 @@ // Copyright 2007-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/path.h" +#include <zix/path.h> #include "index_range.h" #include "path_iter.h" -#include "zix/string_view.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/string_view.h> #include <stdbool.h> #include <stddef.h> diff --git a/src/path_iter.h b/src/path_iter.h index f57c6ef..43eb8c9 100644 --- a/src/path_iter.h +++ b/src/path_iter.h @@ -6,7 +6,7 @@ #include "index_range.h" -#include "zix/attributes.h" +#include <zix/attributes.h> typedef enum { ZIX_PATH_ROOT_NAME, diff --git a/src/posix/filesystem_posix.c b/src/posix/filesystem_posix.c index cd53689..7553916 100644 --- a/src/posix/filesystem_posix.c +++ b/src/posix/filesystem_posix.c @@ -1,15 +1,15 @@ // Copyright 2007-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/filesystem.h" +#include <zix/filesystem.h> #include "../errno_status.h" #include "../system.h" #include "../zix_config.h" -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> #if USE_FLOCK && USE_FILENO # include <sys/file.h> diff --git a/src/posix/sem_posix.c b/src/posix/sem_posix.c index 452830d..ea49db9 100644 --- a/src/posix/sem_posix.c +++ b/src/posix/sem_posix.c @@ -1,12 +1,12 @@ // Copyright 2012-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/sem.h" +#include <zix/sem.h> #include "../errno_status.h" #include "../zix_config.h" -#include "zix/status.h" +#include <zix/status.h> #include <semaphore.h> diff --git a/src/posix/thread_posix.c b/src/posix/thread_posix.c index 2073448..468fe38 100644 --- a/src/posix/thread_posix.c +++ b/src/posix/thread_posix.c @@ -1,11 +1,11 @@ // Copyright 2012-2020 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/thread.h" +#include <zix/thread.h> #include "../errno_status.h" -#include "zix/status.h" +#include <zix/status.h> #include <pthread.h> @@ -1,13 +1,13 @@ // Copyright 2011-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/ring.h" +#include <zix/ring.h> #include "errno_status.h" #include "zix_config.h" -#include "zix/allocator.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/status.h> #if defined(_WIN32) # include <windows.h> diff --git a/src/status.c b/src/status.c index e3d8b99..52057b8 100644 --- a/src/status.c +++ b/src/status.c @@ -1,7 +1,7 @@ // Copyright 2014-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/status.h" +#include <zix/status.h> const char* zix_strerror(const ZixStatus status) diff --git a/src/string_view.c b/src/string_view.c index 192f918..b02e537 100644 --- a/src/string_view.c +++ b/src/string_view.c @@ -1,8 +1,9 @@ // Copyright 2007-2024 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/string_view.h" -#include "zix/allocator.h" +#include <zix/string_view.h> + +#include <zix/allocator.h> #include <stdbool.h> #include <string.h> diff --git a/src/system.c b/src/system.c index eab568b..f672d76 100644 --- a/src/system.c +++ b/src/system.c @@ -5,7 +5,7 @@ #include "errno_status.h" -#include "zix/status.h" +#include <zix/status.h> #ifdef _WIN32 # include <io.h> diff --git a/src/system.h b/src/system.h index ca55161..45a0490 100644 --- a/src/system.h +++ b/src/system.h @@ -4,7 +4,7 @@ #ifndef ZIX_SYSTEM_H #define ZIX_SYSTEM_H -#include "zix/status.h" +#include <zix/status.h> #include <stdint.h> #include <sys/types.h> @@ -1,9 +1,11 @@ // Copyright 2011-2020 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/tree.h" +#include <zix/tree.h> -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> #include <assert.h> diff --git a/src/win32/filesystem_win32.c b/src/win32/filesystem_win32.c index 5dc36a8..4682f5d 100644 --- a/src/win32/filesystem_win32.c +++ b/src/win32/filesystem_win32.c @@ -1,15 +1,15 @@ // Copyright 2007-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/bump_allocator.h" -#include "zix/filesystem.h" +#include <zix/bump_allocator.h> +#include <zix/filesystem.h> #include "../errno_status.h" #include "../zix_config.h" -#include "zix/allocator.h" -#include "zix/path.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/path.h> +#include <zix/status.h> #include <direct.h> #include <fcntl.h> diff --git a/src/win32/sem_win32.c b/src/win32/sem_win32.c index 979390e..d28f39f 100644 --- a/src/win32/sem_win32.c +++ b/src/win32/sem_win32.c @@ -1,9 +1,9 @@ // Copyright 2012-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/sem.h" +#include <zix/sem.h> -#include "zix/status.h" +#include <zix/status.h> #include <windows.h> diff --git a/src/win32/thread_win32.c b/src/win32/thread_win32.c index e4411b1..dbfe026 100644 --- a/src/win32/thread_win32.c +++ b/src/win32/thread_win32.c @@ -1,9 +1,9 @@ // Copyright 2012-2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/thread.h" +#include <zix/thread.h> -#include "zix/status.h" +#include <zix/status.h> #include <windows.h> diff --git a/test/cpp/test_headers_cpp.cpp b/test/cpp/test_headers_cpp.cpp index f8038c1..3676afc 100644 --- a/test/cpp/test_headers_cpp.cpp +++ b/test/cpp/test_headers_cpp.cpp @@ -5,21 +5,21 @@ # define WIN32_LEAN_AND_MEAN #endif -#include "zix/allocator.h" // IWYU pragma: keep -#include "zix/attributes.h" // IWYU pragma: keep -#include "zix/btree.h" // IWYU pragma: keep -#include "zix/bump_allocator.h" // IWYU pragma: keep -#include "zix/digest.h" // IWYU pragma: keep -#include "zix/filesystem.h" // IWYU pragma: keep -#include "zix/hash.h" // IWYU pragma: keep -#include "zix/path.h" // IWYU pragma: keep -#include "zix/ring.h" // IWYU pragma: keep -#include "zix/sem.h" // IWYU pragma: keep -#include "zix/status.h" // IWYU pragma: keep -#include "zix/string_view.h" // IWYU pragma: keep -#include "zix/thread.h" // IWYU pragma: keep -#include "zix/tree.h" // IWYU pragma: keep -#include "zix/zix.h" // IWYU pragma: keep +#include <zix/allocator.h> // IWYU pragma: keep +#include <zix/attributes.h> // IWYU pragma: keep +#include <zix/btree.h> // IWYU pragma: keep +#include <zix/bump_allocator.h> // IWYU pragma: keep +#include <zix/digest.h> // IWYU pragma: keep +#include <zix/filesystem.h> // IWYU pragma: keep +#include <zix/hash.h> // IWYU pragma: keep +#include <zix/path.h> // IWYU pragma: keep +#include <zix/ring.h> // IWYU pragma: keep +#include <zix/sem.h> // IWYU pragma: keep +#include <zix/status.h> // IWYU pragma: keep +#include <zix/string_view.h> // IWYU pragma: keep +#include <zix/thread.h> // IWYU pragma: keep +#include <zix/tree.h> // IWYU pragma: keep +#include <zix/zix.h> // IWYU pragma: keep #if defined(__GNUC__) __attribute__((const)) diff --git a/test/cpp/test_path_std.cpp b/test/cpp/test_path_std.cpp index cabf3da..7b592d8 100644 --- a/test/cpp/test_path_std.cpp +++ b/test/cpp/test_path_std.cpp @@ -10,8 +10,8 @@ #undef NDEBUG -#include "zix/path.h" -#include "zix/string_view.h" +#include <zix/path.h> +#include <zix/string_view.h> #include <cassert> #include <cstdlib> diff --git a/test/failing_allocator.h b/test/failing_allocator.h index 5f6d220..215f2b6 100644 --- a/test/failing_allocator.h +++ b/test/failing_allocator.h @@ -4,7 +4,7 @@ #ifndef ZIX_TEST_FAILING_ALLOCATOR_H #define ZIX_TEST_FAILING_ALLOCATOR_H -#include "zix/allocator.h" +#include <zix/allocator.h> #include <stddef.h> diff --git a/test/headers/test_headers.c b/test/headers/test_headers.c index a610600..2b4d09b 100644 --- a/test/headers/test_headers.c +++ b/test/headers/test_headers.c @@ -1,21 +1,21 @@ // Copyright 2022 David Robillard <d@drobilla.net> // SPDX-License-Identifier: ISC -#include "zix/allocator.h" // IWYU pragma: keep -#include "zix/attributes.h" // IWYU pragma: keep -#include "zix/btree.h" // IWYU pragma: keep -#include "zix/bump_allocator.h" // IWYU pragma: keep -#include "zix/digest.h" // IWYU pragma: keep -#include "zix/filesystem.h" // IWYU pragma: keep -#include "zix/hash.h" // IWYU pragma: keep -#include "zix/path.h" // IWYU pragma: keep -#include "zix/ring.h" // IWYU pragma: keep -#include "zix/sem.h" // IWYU pragma: keep -#include "zix/status.h" // IWYU pragma: keep -#include "zix/string_view.h" // IWYU pragma: keep -#include "zix/thread.h" // IWYU pragma: keep -#include "zix/tree.h" // IWYU pragma: keep -#include "zix/zix.h" // IWYU pragma: keep +#include <zix/allocator.h> // IWYU pragma: keep +#include <zix/attributes.h> // IWYU pragma: keep +#include <zix/btree.h> // IWYU pragma: keep +#include <zix/bump_allocator.h> // IWYU pragma: keep +#include <zix/digest.h> // IWYU pragma: keep +#include <zix/filesystem.h> // IWYU pragma: keep +#include <zix/hash.h> // IWYU pragma: keep +#include <zix/path.h> // IWYU pragma: keep +#include <zix/ring.h> // IWYU pragma: keep +#include <zix/sem.h> // IWYU pragma: keep +#include <zix/status.h> // IWYU pragma: keep +#include <zix/string_view.h> // IWYU pragma: keep +#include <zix/thread.h> // IWYU pragma: keep +#include <zix/tree.h> // IWYU pragma: keep +#include <zix/zix.h> // IWYU pragma: keep #if defined(__GNUC__) __attribute__((const)) diff --git a/test/test_allocator.c b/test/test_allocator.c index 2677624..e9be7ea 100644 --- a/test/test_allocator.c +++ b/test/test_allocator.c @@ -5,8 +5,8 @@ #include "failing_allocator.h" -#include "zix/allocator.h" -#include "zix/bump_allocator.h" +#include <zix/allocator.h> +#include <zix/bump_allocator.h> #include <assert.h> #include <stddef.h> diff --git a/test/test_btree.c b/test/test_btree.c index 6269c4b..97bd9ba 100644 --- a/test/test_btree.c +++ b/test/test_btree.c @@ -3,16 +3,16 @@ #undef NDEBUG -#include "zix/btree.h" +#include <zix/btree.h> #include "ensure.h" #include "failing_allocator.h" #include "test_args.h" #include "test_data.h" -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> #include <assert.h> #include <inttypes.h> diff --git a/test/test_digest.c b/test/test_digest.c index 7e7e77a..65a0e41 100644 --- a/test/test_digest.c +++ b/test/test_digest.c @@ -3,8 +3,8 @@ #undef NDEBUG -#include "zix/attributes.h" -#include "zix/digest.h" +#include <zix/attributes.h> +#include <zix/digest.h> #include <assert.h> #include <stddef.h> diff --git a/test/test_filesystem.c b/test/test_filesystem.c index 511c66e..0c775d1 100644 --- a/test/test_filesystem.c +++ b/test/test_filesystem.c @@ -3,11 +3,11 @@ #undef NDEBUG -#include "zix/allocator.h" -#include "zix/filesystem.h" -#include "zix/path.h" -#include "zix/status.h" -#include "zix/string_view.h" +#include <zix/allocator.h> +#include <zix/filesystem.h> +#include <zix/path.h> +#include <zix/status.h> +#include <zix/string_view.h> #ifndef _WIN32 # include <unistd.h> diff --git a/test/test_hash.c b/test/test_hash.c index 31c7e45..2ff286c 100644 --- a/test/test_hash.c +++ b/test/test_hash.c @@ -10,11 +10,11 @@ #include "failing_allocator.h" #include "test_data.h" -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/digest.h" -#include "zix/hash.h" -#include "zix/status.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/digest.h> +#include <zix/hash.h> +#include <zix/status.h> #include <assert.h> #include <inttypes.h> diff --git a/test/test_path.c b/test/test_path.c index 5c98c32..3a8353d 100644 --- a/test/test_path.c +++ b/test/test_path.c @@ -3,8 +3,8 @@ #undef NDEBUG -#include "zix/path.h" -#include "zix/string_view.h" +#include <zix/path.h> +#include <zix/string_view.h> #include <assert.h> #include <stdbool.h> diff --git a/test/test_ring.c b/test/test_ring.c index 156d867..06ac183 100644 --- a/test/test_ring.c +++ b/test/test_ring.c @@ -6,10 +6,10 @@ #include "failing_allocator.h" #include "test_args.h" -#include "zix/attributes.h" -#include "zix/ring.h" -#include "zix/status.h" -#include "zix/thread.h" +#include <zix/attributes.h> +#include <zix/ring.h> +#include <zix/status.h> +#include <zix/thread.h> #include <assert.h> #include <limits.h> diff --git a/test/test_sem.c b/test/test_sem.c index 0118f50..ad2ea6d 100644 --- a/test/test_sem.c +++ b/test/test_sem.c @@ -3,10 +3,10 @@ #undef NDEBUG -#include "zix/attributes.h" -#include "zix/sem.h" -#include "zix/status.h" -#include "zix/thread.h" +#include <zix/attributes.h> +#include <zix/sem.h> +#include <zix/status.h> +#include <zix/thread.h> #include <assert.h> #include <stdio.h> diff --git a/test/test_status.c b/test/test_status.c index 6857928..b047fe8 100644 --- a/test/test_status.c +++ b/test/test_status.c @@ -3,7 +3,7 @@ #undef NDEBUG -#include "zix/status.h" +#include <zix/status.h> #include <assert.h> #include <stdio.h> diff --git a/test/test_string_view.c b/test/test_string_view.c index 764edcb..9aeb826 100644 --- a/test/test_string_view.c +++ b/test/test_string_view.c @@ -5,8 +5,8 @@ #include "failing_allocator.h" -#include "zix/allocator.h" -#include "zix/string_view.h" +#include <zix/allocator.h> +#include <zix/string_view.h> #include <assert.h> #include <string.h> diff --git a/test/test_thread.c b/test/test_thread.c index 09edde6..ede0f31 100644 --- a/test/test_thread.c +++ b/test/test_thread.c @@ -3,8 +3,8 @@ #undef NDEBUG -#include "zix/status.h" -#include "zix/thread.h" +#include <zix/status.h> +#include <zix/thread.h> #include <assert.h> #include <string.h> diff --git a/test/test_tree.c b/test/test_tree.c index ff63999..61be9be 100644 --- a/test/test_tree.c +++ b/test/test_tree.c @@ -8,10 +8,10 @@ #include "test_args.h" #include "test_data.h" -#include "zix/allocator.h" -#include "zix/attributes.h" -#include "zix/status.h" -#include "zix/tree.h" +#include <zix/allocator.h> +#include <zix/attributes.h> +#include <zix/status.h> +#include <zix/tree.h> #include <assert.h> #include <inttypes.h> |