diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-01-13 12:25:09 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-01-13 12:25:09 +0100 |
| commit | 24bf7a500ecad7091f92cf9063d0b6cbbf678db1 (patch) | |
| tree | 9a68ce9f0a1f5dfbda1e3310729b01555279d127 /view.h | |
| parent | 8ab73e6d89429ef733ec388b5ab0aa6d37fb8bef (diff) | |
| download | vis-24bf7a500ecad7091f92cf9063d0b6cbbf678db1.tar.gz vis-24bf7a500ecad7091f92cf9063d0b6cbbf678db1.tar.xz | |
Add -pedantic to debug CFLAGS and fix resulting warnings
Diffstat (limited to 'view.h')
| -rw-r--r-- | view.h | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -3,6 +3,11 @@ #include <stddef.h> #include <stdbool.h> +#if CONFIG_LUA +#include <lua.h> +#else +typedef struct lua_State lua_State; +#endif #include "register.h" #include "text.h" #include "ui.h" @@ -10,7 +15,6 @@ typedef struct View View; typedef struct Cursor Cursor; typedef struct Selection Selection; -typedef struct lua_State lua_State; typedef struct { int width; /* display width i.e. number of columns ocupied by this character */ |
