Remove unneeded includes in ui.c
parent
5c4ecb5a0f
commit
3b4ad30d97
9
ui.c
9
ui.c
|
@ -28,13 +28,11 @@
|
||||||
#define _XOPEN_SOURCE_EXTENDED
|
#define _XOPEN_SOURCE_EXTENDED
|
||||||
|
|
||||||
#include <assert.h>
|
#include <assert.h>
|
||||||
#include <ctype.h>
|
|
||||||
#include <curses.h>
|
#include <curses.h>
|
||||||
#include <err.h>
|
#include <err.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#include <inttypes.h>
|
#include <inttypes.h>
|
||||||
#include <signal.h>
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
#include <stdbool.h>
|
#include <stdbool.h>
|
||||||
#include <stdio.h>
|
#include <stdio.h>
|
||||||
|
@ -43,11 +41,8 @@
|
||||||
#include <sys/file.h>
|
#include <sys/file.h>
|
||||||
#include <sysexits.h>
|
#include <sysexits.h>
|
||||||
#include <term.h>
|
#include <term.h>
|
||||||
#include <termios.h>
|
|
||||||
#include <time.h>
|
#include <time.h>
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#include <wchar.h>
|
|
||||||
#include <wctype.h>
|
|
||||||
|
|
||||||
#ifdef __FreeBSD__
|
#ifdef __FreeBSD__
|
||||||
#include <capsicum_helpers.h>
|
#include <capsicum_helpers.h>
|
||||||
|
@ -55,10 +50,6 @@
|
||||||
|
|
||||||
#include "chat.h"
|
#include "chat.h"
|
||||||
|
|
||||||
// Annoying stuff from <term.h>:
|
|
||||||
#undef lines
|
|
||||||
#undef tab
|
|
||||||
|
|
||||||
#define BOTTOM (LINES - 1)
|
#define BOTTOM (LINES - 1)
|
||||||
#define RIGHT (COLS - 1)
|
#define RIGHT (COLS - 1)
|
||||||
#define MAIN_LINES (LINES - StatusLines - InputLines)
|
#define MAIN_LINES (LINES - StatusLines - InputLines)
|
||||||
|
|
Loading…
Reference in New Issue