summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2022-02-19 23:23:14 -0500
committerJune McEnroe <june@causal.agency>2022-02-19 23:25:36 -0500
commit3b4ad30d9789e43d5f639f97fd4613b3edbf83fa (patch)
treeab460e24ad50993b53430a38ed0d4aed6619e3e5
parentReimplement tab complete (diff)
downloadcatgirl-3b4ad30d9789e43d5f639f97fd4613b3edbf83fa.tar.gz
catgirl-3b4ad30d9789e43d5f639f97fd4613b3edbf83fa.zip
Remove unneeded includes in ui.c
-rw-r--r--ui.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/ui.c b/ui.c
index d24f7a7..67c6349 100644
--- a/ui.c
+++ b/ui.c
@@ -28,13 +28,11 @@
 #define _XOPEN_SOURCE_EXTENDED
 
 #include <assert.h>
-#include <ctype.h>
 #include <curses.h>
 #include <err.h>
 #include <errno.h>
 #include <fcntl.h>
 #include <inttypes.h>
-#include <signal.h>
 #include <stdarg.h>
 #include <stdbool.h>
 #include <stdio.h>
@@ -43,11 +41,8 @@
 #include <sys/file.h>
 #include <sysexits.h>
 #include <term.h>
-#include <termios.h>
 #include <time.h>
 #include <unistd.h>
-#include <wchar.h>
-#include <wctype.h>
 
 #ifdef __FreeBSD__
 #include <capsicum_helpers.h>
@@ -55,10 +50,6 @@
 
 #include "chat.h"
 
-// Annoying stuff from <term.h>:
-#undef lines
-#undef tab
-
 #define BOTTOM (LINES - 1)
 #define RIGHT (COLS - 1)
 #define MAIN_LINES (LINES - StatusLines - InputLines)