aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2016-05-07 19:33:29 -0400
committerJesse Luehrs <doy@tozt.net>2016-05-07 19:41:52 -0400
commitf1537fd8bcd565ff144335a36bc87d3fd834da07 (patch)
treeb6e45a191616bd5987062b1b3f950bff455025bc
parent36fb7cdd3d7a1b8f522ebf84e60cacb9350b20c2 (diff)
downloadrunes-f1537fd8bcd565ff144335a36bc87d3fd834da07.tar.gz
runes-f1537fd8bcd565ff144335a36bc87d3fd834da07.zip
stop including term.h in runes.h
-rw-r--r--src/display.c1
-rw-r--r--src/pty-unix.c1
-rw-r--r--src/runes.h1
-rw-r--r--src/socket.c1
-rw-r--r--src/term.c1
-rw-r--r--src/window-xlib.c1
6 files changed, 5 insertions, 1 deletions
diff --git a/src/display.c b/src/display.c
index f26026f..c26c692 100644
--- a/src/display.c
+++ b/src/display.c
@@ -5,6 +5,7 @@
#include "display.h"
#include "config.h"
+#include "term.h"
static void runes_display_recalculate_font_metrics(
RunesDisplay *display, char *font_name);
diff --git a/src/pty-unix.c b/src/pty-unix.c
index 3c69849..7ee5edf 100644
--- a/src/pty-unix.c
+++ b/src/pty-unix.c
@@ -13,6 +13,7 @@
#include "config.h"
#include "loop.h"
+#include "term.h"
#include "window-xlib.h"
static void runes_pty_backend_read(RunesTerm *t);
diff --git a/src/runes.h b/src/runes.h
index 5be7e78..a5ed4a4 100644
--- a/src/runes.h
+++ b/src/runes.h
@@ -18,6 +18,5 @@ typedef struct runes_loop RunesLoop;
typedef struct runes_socket RunesSocket;
#include "util.h"
-#include "term.h"
#endif
diff --git a/src/socket.c b/src/socket.c
index 3638f74..f66da5c 100644
--- a/src/socket.c
+++ b/src/socket.c
@@ -10,6 +10,7 @@
#include "socket.h"
#include "loop.h"
+#include "term.h"
static int runes_socket_open(RunesSocket *sock);
static void runes_socket_close(RunesSocket *sock);
diff --git a/src/term.c b/src/term.c
index 1b038a4..84d7f4f 100644
--- a/src/term.c
+++ b/src/term.c
@@ -2,6 +2,7 @@
#include <string.h>
#include "runes.h"
+#include "term.h"
#include "config.h"
#include "display.h"
diff --git a/src/window-xlib.c b/src/window-xlib.c
index d2c3b80..f3b924a 100644
--- a/src/window-xlib.c
+++ b/src/window-xlib.c
@@ -14,6 +14,7 @@
#include "display.h"
#include "loop.h"
#include "pty-unix.h"
+#include "term.h"
static char *atom_names[RUNES_NUM_ATOMS] = {
"WM_DELETE_WINDOW",