diff options
author | mzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2010-01-19 22:59:24 +0000 |
---|---|---|
committer | mzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f> | 2010-01-19 22:59:24 +0000 |
commit | eb67cb9dabaf5942dec2caef646a7ff0b269e1db (patch) | |
tree | 3c3c1dfa8a8a0973920db77c01fc5616115dcd8f | |
parent | 8b4d88284a82ba14c90577aa4fc968513fa558d0 (diff) | |
download | lcd4linux-eb67cb9dabaf5942dec2caef646a7ff0b269e1db.tar.gz |
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
-rw-r--r-- | plugin.c | 4 | ||||
-rw-r--r-- | plugin.h | 2 | ||||
-rw-r--r-- | plugin_sample.c | 10 |
3 files changed, 6 insertions, 10 deletions
@@ -33,15 +33,13 @@ * */ - -#include "config.h" +#include "plugin.h" #include <stdlib.h> #include <stdio.h> #include <string.h> #include "debug.h" -#include "plugin.h" char *Plugins[] = { @@ -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 <stdlib.h> #include <string.h> #include <ctype.h> -/* these should always be included */ -#include "debug.h" -#include "plugin.h" - #ifdef WITH_DMALLOC #include <dmalloc.h> #endif |