From 68bc6bce2923f049f84d919aea24600f18139a46 Mon Sep 17 00:00:00 2001 From: Felipe Oliveira Carvalho Date: Sat, 22 Mar 2014 12:25:01 -0300 Subject: 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 --- src/screen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/screen.c') diff --git a/src/screen.c b/src/screen.c index 95775f3bcb..fa07cc651d 100644 --- a/src/screen.c +++ b/src/screen.c @@ -96,6 +96,7 @@ #include "eval.h" #include "ex_cmds2.h" #include "ex_getln.h" +#include "farsi.h" #include "fileio.h" #include "fold.h" #include "getchar.h" -- cgit