aboutsummaryrefslogtreecommitdiff
path: root/vis.c
diff options
context:
space:
mode:
authorRandy Palamar <randy@rnpnr.xyz>2025-12-13 11:17:09 -0700
committerRandy Palamar <randy@rnpnr.xyz>2025-12-22 09:13:47 -0700
commit569b61137cf45521d9fd4f693cf841be485dd4b8 (patch)
tree41851443d00b15a45d39c9079001bc10c4c4806e /vis.c
parent5abe94420528d3e107eceb0f3df073e8a1270191 (diff)
downloadvis-569b61137cf45521d9fd4f693cf841be485dd4b8.tar.gz
vis-569b61137cf45521d9fd4f693cf841be485dd4b8.tar.xz
move all standard library includes into util.h
Diffstat (limited to 'vis.c')
-rw-r--r--vis.c25
1 files changed, 2 insertions, 23 deletions
diff --git a/vis.c b/vis.c
index fcadd10..5bf2d6e 100644
--- a/vis.c
+++ b/vis.c
@@ -1,27 +1,7 @@
-#include <stdlib.h>
-#include <unistd.h>
-#include <string.h>
-#include <strings.h>
-#include <signal.h>
-#include <stdarg.h>
-#include <stdio.h>
-#include <errno.h>
-#include <fcntl.h>
-#include <limits.h>
-#include <ctype.h>
-#include <time.h>
-#include <sys/select.h>
-#include <sys/types.h>
-#include <sys/wait.h>
-#include <sys/stat.h>
-#include <sys/ioctl.h>
-#include <sys/mman.h>
-#include <pwd.h>
-#include <libgen.h>
-#include <termkey.h>
-
#include "util.h"
+#include <termkey.h>
+
#include "vis.h"
#include "text-util.h"
#include "text-motions.h"
@@ -31,7 +11,6 @@
#include "ui.h"
#include "vis-subprocess.h"
-
#include "array.c"
#include "buffer.c"
#include "event-basic.c"