summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTavian Barnes <tavianator@tavianator.com>2021-02-05 17:07:26 -0500
committerTavian Barnes <tavianator@tavianator.com>2021-02-05 17:08:53 -0500
commitd45f19e132d38d1f63daecc97f45efeeee16987f (patch)
treeb76c5b2ba2dacee5851eba8932e1890190c0b447
parent08f4604d02d60576c7b856035e685a4f2479bf6d (diff)
downloadbfs-d45f19e132d38d1f63daecc97f45efeeee16987f.tar.xz
Fix up some #includes
-rw-r--r--bftw.h1
-rw-r--r--diag.c1
-rw-r--r--spawn.c1
-rw-r--r--stat.h1
4 files changed, 0 insertions, 4 deletions
diff --git a/bftw.h b/bftw.h
index 2a21dfc..619d2a3 100644
--- a/bftw.h
+++ b/bftw.h
@@ -24,7 +24,6 @@
#include "dir.h"
#include "stat.h"
#include <stddef.h>
-#include <sys/types.h>
/**
* Possible visit occurrences.
diff --git a/diag.c b/diag.c
index c2ed972..4b54c0a 100644
--- a/diag.c
+++ b/diag.c
@@ -18,7 +18,6 @@
#include "ctx.h"
#include "color.h"
#include "util.h"
-#include <assert.h>
#include <errno.h>
#include <stdarg.h>
diff --git a/spawn.c b/spawn.c
index 1aeabc1..66f5f5e 100644
--- a/spawn.c
+++ b/spawn.c
@@ -18,7 +18,6 @@
#include "util.h"
#include <errno.h>
#include <stdlib.h>
-#include <sys/stat.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <unistd.h>
diff --git a/stat.h b/stat.h
index a32967b..cb68190 100644
--- a/stat.h
+++ b/stat.h
@@ -27,7 +27,6 @@
#include "util.h"
#include <sys/types.h>
-#include <sys/stat.h>
#include <time.h>
#if BFS_HAS_SYS_PARAM