aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2024-08-01 18:11:04 +0000
committerDaniel Eklöf <daniel@ekloef.se>2024-08-02 06:28:13 +0000
commita9e462d952ca1e0367e9e6eb6ee00a0cda7e8c9b (patch)
treea6c9645afd8bf6eff4e2e27e9a49ce47c3bffbb7
parentnotify: codespell: programatically -> programmatically (diff)
Remove a number of unused includes
-rw-r--r--csi.c1
-rw-r--r--main.c3
-rw-r--r--render.c1
-rw-r--r--server.c1
-rw-r--r--slave.c1
-rw-r--r--vt.c1
6 files changed, 0 insertions, 8 deletions
diff --git a/csi.c b/csi.c
index 2b9f137d..91d42e2a 100644
--- a/csi.c
+++ b/csi.c
@@ -3,7 +3,6 @@
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
-#include <errno.h>
#if defined(_DEBUG)
#include <stdio.h>
diff --git a/main.c b/main.c
index 47bccf2b..a6ec1cb7 100644
--- a/main.c
+++ b/main.c
@@ -1,7 +1,6 @@
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
-#include <ctype.h>
#include <stdbool.h>
#include <limits.h>
#include <locale.h>
@@ -36,8 +35,6 @@
#include "xmalloc.h"
#include "xsnprintf.h"
-#include "char32.h"
-
#if !defined(__STDC_UTF_32__) || !__STDC_UTF_32__
#error "char32_t does not use UTF-32"
#endif
diff --git a/render.c b/render.c
index ef135b53..279e51bf 100644
--- a/render.c
+++ b/render.c
@@ -1,7 +1,6 @@
#include "render.h"
#include <string.h>
-#include <wctype.h>
#include <unistd.h>
#include <signal.h>
diff --git a/server.c b/server.c
index 53e86088..78d98d53 100644
--- a/server.c
+++ b/server.c
@@ -18,7 +18,6 @@
#include "log.h"
#include "client-protocol.h"
-#include "shm.h"
#include "terminal.h"
#include "util.h"
#include "wayland.h"
diff --git a/slave.c b/slave.c
index 2187eef3..00105adb 100644
--- a/slave.c
+++ b/slave.c
@@ -19,7 +19,6 @@
#include "debug.h"
#include "macros.h"
-#include "terminal.h"
#include "tokenize.h"
#include "util.h"
#include "xmalloc.h"
diff --git a/vt.c b/vt.c
index 487c5f5f..572dd2af 100644
--- a/vt.c
+++ b/vt.c
@@ -17,7 +17,6 @@
#include "dcs.h"
#include "debug.h"
#include "emoji-variation-sequences.h"
-#include "grid.h"
#include "osc.h"
#include "sixel.h"
#include "util.h"