aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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