diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2014-09-11 10:28:49 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2014-09-11 10:28:49 +0200 |
| commit | 9802e289c61e68e262a173063f14438ae12b32dd (patch) | |
| tree | 9d541a4e0087915451edbaadd151bbea0a698386 | |
| parent | 514b6e1ddf2b086378cc689bb87765d259ac9732 (diff) | |
| download | vis-9802e289c61e68e262a173063f14438ae12b32dd.tar.gz vis-9802e289c61e68e262a173063f14438ae12b32dd.tar.xz | |
Fix warnings about redefinition of typedefed structs
| -rw-r--r-- | window.c | 1 | ||||
| -rw-r--r-- | window.h | 2 |
2 files changed, 1 insertions, 2 deletions
@@ -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 */ @@ -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*); |
