aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--window.c1
-rw-r--r--window.h2
2 files changed, 1 insertions, 2 deletions
diff --git a/window.c b/window.c
index bdb5ce3..931c4dc 100644
--- a/window.c
+++ b/window.c
@@ -56,7 +56,6 @@ typedef struct { /* cursor position */
Line *line; /* screen line on which cursor currently resides */
} Cursor;
-typedef struct Win Win;
struct Win { /* window showing part of a file */
Text *text; /* underlying text management */
WINDOW *win; /* curses window for the text area */
diff --git a/window.h b/window.h
index fc9cd43..f7016b5 100644
--- a/window.h
+++ b/window.h
@@ -4,8 +4,8 @@
#include <stddef.h>
#include <stdbool.h>
#include "text.h"
+#include "syntax.h"
-typedef struct Syntax Syntax;
typedef struct Win Win;
Win *window_new(Text*);