aboutsummaryrefslogtreecommitdiffstats
path: root/util.c
diff options
context:
space:
mode:
authorNRK <nrk@disroot.org>2022-05-31 13:25:14 +0200
committerGitea <gitea@fake.local>2022-06-28 21:28:06 +0200
commit6d5a04005dd1dff12ebfe2e3a56912ec26718f3f (patch)
tree56e39d86053cb3e6c72c7c3a0694b13780f434a6 /util.c
parent86a83c1ec5ba2a6e5130a373fca394a7002060c7 (diff)
downloadnsxiv-6d5a04005dd1dff12ebfe2e3a56912ec26718f3f.tar.zst
code-style: cleanup includes
* rm unused include <sys/types.h> * move <sys/time.h> to main.c, it's the only file that needs it. * move TV_* macros to main.c * let *.c files explicitly include what they need instead of including them at nsxiv.h
Diffstat (limited to 'util.c')
-rw-r--r--util.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/util.c b/util.c
index 9c97dda..31ab4b8 100644
--- a/util.c
+++ b/util.c
@@ -21,8 +21,9 @@
#include <assert.h>
#include <stdlib.h>
+#include <stdarg.h>
+#include <stdio.h>
#include <string.h>
-#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <errno.h>