summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2023-09-21 21:39:29 -0400
committerDavid Robillard <d@drobilla.net>2023-09-21 21:39:29 -0400
commitb7aaf1cc1728de3628aa596c98b5f59e16287c40 (patch)
tree86b0a78a5c99a97028dfce32f6eb5e7de9d830a3 /src
parent1134823fb8a04886a3eff6a66b6624788d9b779b (diff)
downloadzix-b7aaf1cc1728de3628aa596c98b5f59e16287c40.tar.gz
zix-b7aaf1cc1728de3628aa596c98b5f59e16287c40.tar.bz2
zix-b7aaf1cc1728de3628aa596c98b5f59e16287c40.zip
Remove unnecessary includes and forward declarations
According to include-what-you-use 0.20 (7301b1f) based on clang 16.0.6.
Diffstat (limited to 'src')
-rw-r--r--src/filesystem.c1
-rw-r--r--src/posix/filesystem_posix.c2
2 files changed, 0 insertions, 3 deletions
diff --git a/src/filesystem.c b/src/filesystem.c
index 56e1fb2..95005ae 100644
--- a/src/filesystem.c
+++ b/src/filesystem.c
@@ -3,7 +3,6 @@
#include "zix/filesystem.h"
-#include "index_range.h"
#include "path_iter.h"
#include "system.h"
diff --git a/src/posix/filesystem_posix.c b/src/posix/filesystem_posix.c
index a5ac857..beaf823 100644
--- a/src/posix/filesystem_posix.c
+++ b/src/posix/filesystem_posix.c
@@ -40,8 +40,6 @@
# define MAX(a, b) (((a) > (b)) ? (a) : (b))
#endif
-struct stat;
-
static inline ZixStatus
zix_posix_status(const int rc)
{