From eb67cb9dabaf5942dec2caef646a7ff0b269e1db Mon Sep 17 00:00:00 2001 From: mzuther Date: Tue, 19 Jan 2010 22:59:24 +0000 Subject: included "config.h" in "plugin.h" and changed "plugin.c" and "plugin_sample.c" accordingly git-svn-id: https://ssl.bulix.org/svn/lcd4linux/trunk@1087 3ae390bd-cb1e-0410-b409-cd5a39f66f1f --- plugin.c | 4 +--- plugin.h | 2 +- plugin_sample.c | 10 ++++------ 3 files changed, 6 insertions(+), 10 deletions(-) diff --git a/plugin.c b/plugin.c index b5d3157..b021e4a 100644 --- a/plugin.c +++ b/plugin.c @@ -33,15 +33,13 @@ * */ - -#include "config.h" +#include "plugin.h" #include #include #include #include "debug.h" -#include "plugin.h" char *Plugins[] = { diff --git a/plugin.h b/plugin.h index d87d260..0de7684 100644 --- a/plugin.h +++ b/plugin.h @@ -24,7 +24,7 @@ * */ - +#include "config.h" #include "evaluator.h" #ifndef _PLUGIN_H_ diff --git a/plugin_sample.c b/plugin_sample.c index 572c7bf..6941735 100644 --- a/plugin_sample.c +++ b/plugin_sample.c @@ -33,17 +33,15 @@ */ -/* define the include files you need */ -#include "config.h" +/* these should always be included */ +#include "debug.h" +#include "plugin.h" +/* define the include files you need */ #include #include #include -/* these should always be included */ -#include "debug.h" -#include "plugin.h" - #ifdef WITH_DMALLOC #include #endif -- cgit v1.2.3