From: mzuther Date: Tue, 19 Jan 2010 22:59:24 +0000 (+0000) Subject: included "config.h" in "plugin.h" and changed "plugin.c" and "plugin_sample.c" accord... X-Git-Tag: svn1203~116 X-Git-Url: https://git.webhop.me/?a=commitdiff_plain;h=eb67cb9dabaf5942dec2caef646a7ff0b269e1db;p=lcd4linux.git 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 --- 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