summaryrefslogtreecommitdiff
path: root/src/cimarron.c
diff options
context:
space:
mode:
authorEnrico Weigelt, metux IT consult <info@metux.net>2024-06-05 15:43:03 +0200
committerMartin-Éric Racine <martin-eric.racine@iki.fi>2024-06-18 15:14:21 +0000
commitc74b1d68849897f5a27a84ab60c635731b48e5a0 (patch)
tree38b3aa90fa282b5c897587952c82a449fb230369 /src/cimarron.c
parente46b0b9a39ec00dd8006d9927aaa21440b30b7bc (diff)
fix rendundant declarations
Fix a a lot warnings on duplicate forward declarations. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
Diffstat (limited to 'src/cimarron.c')
-rw-r--r--src/cimarron.c15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/cimarron.c b/src/cimarron.c
index e4376a9..4b54de8 100644
--- a/src/cimarron.c
+++ b/src/cimarron.c
@@ -145,6 +145,14 @@
/* #define CIMARRON_EXCLUDE_CUSTOM_MACROS */
+
+/* ROUTINE DEFINITIONS */
+/* All routines have a prototype, even those that are not included */
+/* via #ifdefs. This prevents the user from having to include the */
+/* correct #defines anywhere he/she wants to call a Cimarron routine. */
+
+#include "cim_rtns.h"
+
/*----------------------------------------------------------------------*/
/* MODULE VARIABLES */
/* The following #defines affect how global variables in each Cimarron */
@@ -190,13 +198,6 @@ void (*cim_wrmsr) (unsigned long, unsigned long, unsigned long);
#include "cim_regs.h"
-/* ROUTINE DEFINITIONS */
-/* All routines have a prototype, even those that are not included */
-/* via #ifdefs. This prevents the user from having to include the */
-/* correct #defines anywhere he/she wants to call a Cimarron routine. */
-
-#include "cim_rtns.h"
-
/* HARDWARE ACCESS MACROS */
#include "cim_defs.h"