aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-01-19 22:59:24 +0000
committermzuther <mzuther@3ae390bd-cb1e-0410-b409-cd5a39f66f1f>2010-01-19 22:59:24 +0000
commiteb67cb9dabaf5942dec2caef646a7ff0b269e1db (patch)
tree3c3c1dfa8a8a0973920db77c01fc5616115dcd8f
parent8b4d88284a82ba14c90577aa4fc968513fa558d0 (diff)
downloadlcd4linux-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.c4
-rw-r--r--plugin.h2
-rw-r--r--plugin_sample.c10
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 <stdlib.h>
#include <stdio.h>
#include <string.h>
#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 <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