summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2024-11-23 16:06:12 -0500
committerDavid Robillard <d@drobilla.net>2024-11-23 16:06:12 -0500
commit70a64605f7da52b463db610a5a42a5f4f749dda8 (patch)
tree9dbdbe27f02c5c380744abd90a0eaa884b4f51f6 /src
parent8430cfd24c7b0b0e72ad7b97389de6edd188b735 (diff)
downloadzix-70a64605f7da52b463db610a5a42a5f4f749dda8.tar.gz
zix-70a64605f7da52b463db610a5a42a5f4f749dda8.tar.bz2
zix-70a64605f7da52b463db610a5a42a5f4f749dda8.zip
Use angle brackets for library includes
Diffstat (limited to 'src')
-rw-r--r--src/allocator.c4
-rw-r--r--src/btree.c6
-rw-r--r--src/bump_allocator.c6
-rw-r--r--src/darwin/sem_darwin.c4
-rw-r--r--src/digest.c2
-rw-r--r--src/errno_status.c2
-rw-r--r--src/errno_status.h4
-rw-r--r--src/filesystem.c6
-rw-r--r--src/hash.c5
-rw-r--r--src/path.c6
-rw-r--r--src/path_iter.h2
-rw-r--r--src/posix/filesystem_posix.c8
-rw-r--r--src/posix/sem_posix.c4
-rw-r--r--src/posix/thread_posix.c4
-rw-r--r--src/ring.c6
-rw-r--r--src/status.c2
-rw-r--r--src/string_view.c5
-rw-r--r--src/system.c2
-rw-r--r--src/system.h2
-rw-r--r--src/tree.c6
-rw-r--r--src/win32/filesystem_win32.c10
-rw-r--r--src/win32/sem_win32.c4
-rw-r--r--src/win32/thread_win32.c4
23 files changed, 58 insertions, 46 deletions
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>
diff --git a/src/hash.c b/src/hash.c
index 7576eba..3c0e47c 100644
--- a/src/hash.c
+++ b/src/hash.c
@@ -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>
diff --git a/src/path.c b/src/path.c
index 24414af..8d68781 100644
--- a/src/path.c
+++ b/src/path.c
@@ -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>
diff --git a/src/ring.c b/src/ring.c
index ad00f75..d4fa28c 100644
--- a/src/ring.c
+++ b/src/ring.c
@@ -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>
diff --git a/src/tree.c b/src/tree.c
index 5e3aa61..33900cd 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -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>