diff options
author | Felipe Oliveira Carvalho <felipekde@gmail.com> | 2014-03-22 12:25:01 -0300 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-25 18:48:45 -0300 |
commit | 68bc6bce2923f049f84d919aea24600f18139a46 (patch) | |
tree | 6b1884e69d3ea0a350993adad0eb1175d769562d /src/getchar.c | |
parent | b7f953b9e4b739057fb1a143d06de8eb406f0596 (diff) | |
download | rneovim-68bc6bce2923f049f84d919aea24600f18139a46.tar.gz rneovim-68bc6bce2923f049f84d919aea24600f18139a46.tar.bz2 rneovim-68bc6bce2923f049f84d919aea24600f18139a46.zip |
Do not include farsi.c in main.c
- Change CMakeLists.txt to compile farsi.c normally
- Add const to global variables in farsi.h and define them in farsi.c (no need
to include farsi.h with DO_INIT defined in globals.h)
- Include farsi.h where necessary
- Include all necessary headers in farsi.c
- Move farsi function declarations from main.h to farsi.h
Diffstat (limited to 'src/getchar.c')
-rw-r--r-- | src/getchar.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/getchar.c b/src/getchar.c index f33a2279cb..87bd899880 100644 --- a/src/getchar.c +++ b/src/getchar.c @@ -23,6 +23,7 @@ #include "eval.h" #include "ex_docmd.h" #include "ex_getln.h" +#include "farsi.h" #include "main.h" #include "mbyte.h" #include "memline.h" |