aboutsummaryrefslogtreecommitdiff
path: root/src/globals.h
diff options
context:
space:
mode:
authorFelipe Oliveira Carvalho <felipekde@gmail.com>2014-03-22 12:25:01 -0300
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-25 18:48:45 -0300
commit68bc6bce2923f049f84d919aea24600f18139a46 (patch)
tree6b1884e69d3ea0a350993adad0eb1175d769562d /src/globals.h
parentb7f953b9e4b739057fb1a143d06de8eb406f0596 (diff)
downloadrneovim-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/globals.h')
-rw-r--r--src/globals.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/globals.h b/src/globals.h
index 68ee584655..960e828532 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1139,9 +1139,4 @@ EXTERN int curr_tmode INIT(= TMODE_COOK); /* contains current terminal mode */
/* volatile because it is used in signal handler deathtrap(). */
EXTERN volatile bool in_mch_delay INIT(= false); /* sleeping in mch_delay() */
-/*
- * Optional Farsi support. Include it here, so EXTERN and INIT are defined.
- */
-# include "farsi.h"
-
#endif /* NEOVIM_GLOBALS_H */