Compile-Warnings mit ADEOS behoben.
authorFlorian Pose <fp@igh-essen.com>
Fri, 24 Feb 2006 13:14:21 +0000
changeset 79 319a97c1f0f9
parent 78 3d74183d6c6b
child 80 8cd08d73b560
Compile-Warnings mit ADEOS behoben.
devices/8139too.c
master/module.c
--- a/devices/8139too.c	Fri Feb 24 13:09:13 2006 +0000
+++ b/devices/8139too.c	Fri Feb 24 13:14:21 2006 +0000
@@ -136,12 +136,12 @@
 
 #include "../include/EtherCAT_dev.h"
 
-#define LIT(X) #X
-#define STR(X) LIT(X)
-
-#define COMPILE_INFO "Revision " STR(EC_REV) \
-                     ", compiled by " STR(EC_USER) \
-                     " at " STR(EC_DATE)
+#define EC_LIT(X) #X
+#define EC_STR(X) EC_LIT(X)
+
+#define COMPILE_INFO "Revision " EC_STR(EC_REV) \
+                     ", compiled by " EC_STR(EC_USER) \
+                     " at " EC_STR(EC_DATE)
 
 /* EtherCAT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
 
--- a/master/module.c	Fri Feb 24 13:09:13 2006 +0000
+++ b/master/module.c	Fri Feb 24 13:14:21 2006 +0000
@@ -32,12 +32,12 @@
 
 /*****************************************************************************/
 
-#define LIT(X) #X
-#define STR(X) LIT(X)
-
-#define COMPILE_INFO "Revision " STR(EC_REV) \
-                     ", compiled by " STR(EC_USER) \
-                     " at " STR(EC_DATE)
+#define EC_LIT(X) #X
+#define EC_STR(X) EC_LIT(X)
+
+#define COMPILE_INFO "Revision " EC_STR(EC_REV) \
+                     ", compiled by " EC_STR(EC_USER) \
+                     " at " EC_STR(EC_DATE)
 
 /*****************************************************************************/