From 0b093b8228176b6335316ccb731cef7c5a49a890 Mon Sep 17 00:00:00 2001 From: Renaud Fivet Date: Tue, 28 May 2013 12:59:40 +0800 Subject: [PATCH] Remove main from efunc. --- bind.c | 1 + efunc.h | 3 --- input.c | 1 + line.c | 1 + names.c | 1 + random.c | 1 + region.c | 1 + search.c | 1 + spawn.c | 1 + word.c | 1 + 10 files changed, 9 insertions(+), 3 deletions(-) diff --git a/bind.c b/bind.c index 580362c..289b404 100644 --- a/bind.c +++ b/bind.c @@ -19,6 +19,7 @@ #include "file.h" #include "fileio.h" #include "line.h" +#include "main.h" #include "window.h" diff --git a/efunc.h b/efunc.h index 1c20d8a..7d6ba93 100644 --- a/efunc.h +++ b/efunc.h @@ -17,9 +17,6 @@ /* basic.c */ #include "basic.h" -/* main.c */ -#include "main.h" - /* display.c */ #include "display.h" diff --git a/input.c b/input.c index 198a8f1..b3f6a19 100644 --- a/input.c +++ b/input.c @@ -17,6 +17,7 @@ #include "edef.h" #include "efunc.h" #include "exec.h" +#include "main.h" #include "wrapper.h" #if PKCODE diff --git a/line.c b/line.c index b7a8151..926e56d 100644 --- a/line.c +++ b/line.c @@ -20,6 +20,7 @@ #include "estruct.h" #include "edef.h" #include "efunc.h" +#include "main.h" #include "random.h" #include "utf8.h" diff --git a/names.c b/names.c index 11c8155..94aab57 100644 --- a/names.c +++ b/names.c @@ -13,6 +13,7 @@ #include "file.h" #include "isearch.h" #include "line.h" +#include "main.h" #include "random.h" #include "search.h" #include "spawn.h" diff --git a/random.c b/random.c index a2c8357..638bb27 100644 --- a/random.c +++ b/random.c @@ -15,6 +15,7 @@ #include "edef.h" #include "efunc.h" #include "line.h" +#include "main.h" #include "search.h" int tabsize; /* Tab size (0: use real tabs) */ diff --git a/region.c b/region.c index c523ae9..cea8d5c 100644 --- a/region.c +++ b/region.c @@ -16,6 +16,7 @@ #include "edef.h" #include "efunc.h" #include "line.h" +#include "main.h" /* * Kill the region. Ask "getregion" diff --git a/search.c b/search.c index 91621b3..25e3628 100644 --- a/search.c +++ b/search.c @@ -66,6 +66,7 @@ #include "edef.h" #include "efunc.h" #include "line.h" +#include "main.h" #if defined(MAGIC) /* diff --git a/spawn.c b/spawn.c index 185e46d..4bc53fd 100644 --- a/spawn.c +++ b/spawn.c @@ -15,6 +15,7 @@ #include "edef.h" #include "efunc.h" #include "file.h" +#include "main.h" #include "window.h" #if VMS diff --git a/word.c b/word.c index e333ccd..d957563 100644 --- a/word.c +++ b/word.c @@ -16,6 +16,7 @@ #include "edef.h" #include "efunc.h" #include "line.h" +#include "main.h" #include "random.h" /* Word wrap on n-spaces. Back-over whatever precedes the point on the current