From 9802e289c61e68e262a173063f14438ae12b32dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Thu, 11 Sep 2014 10:28:49 +0200 Subject: Fix warnings about redefinition of typedefed structs --- window.c | 1 - window.h | 2 +- 2 files changed, 1 insertion(+), 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 #include #include "text.h" +#include "syntax.h" -typedef struct Syntax Syntax; typedef struct Win Win; Win *window_new(Text*); -- cgit v1.2.3