From 8984916e7ce2f20fd423c8304899745f3cd15b27 Mon Sep 17 00:00:00 2001
From: Florian Pose <fp@igh-essen.com>
Date: Fri, 24 Feb 2006 13:14:21 +0000
Subject: [PATCH] Compile-Warnings mit ADEOS behoben.

---
 devices/8139too.c | 10 +++++-----
 master/module.c   | 10 +++++-----
 2 files changed, 10 insertions(+), 10 deletions(-)

diff --git a/devices/8139too.c b/devices/8139too.c
index 7e696867..02c44788 100644
--- a/devices/8139too.c
+++ b/devices/8139too.c
@@ -136,12 +136,12 @@
 
 #include "../include/EtherCAT_dev.h"
 
-#define LIT(X) #X
-#define STR(X) LIT(X)
+#define EC_LIT(X) #X
+#define EC_STR(X) EC_LIT(X)
 
-#define COMPILE_INFO "Revision " STR(EC_REV) \
-                     ", compiled by " STR(EC_USER) \
-                     " at " STR(EC_DATE)
+#define COMPILE_INFO "Revision " EC_STR(EC_REV) \
+                     ", compiled by " EC_STR(EC_USER) \
+                     " at " EC_STR(EC_DATE)
 
 /* EtherCAT <<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<*/
 
diff --git a/master/module.c b/master/module.c
index cac451aa..b88a7325 100644
--- a/master/module.c
+++ b/master/module.c
@@ -32,12 +32,12 @@ void __exit ec_cleanup_module(void);
 
 /*****************************************************************************/
 
-#define LIT(X) #X
-#define STR(X) LIT(X)
+#define EC_LIT(X) #X
+#define EC_STR(X) EC_LIT(X)
 
-#define COMPILE_INFO "Revision " STR(EC_REV) \
-                     ", compiled by " STR(EC_USER) \
-                     " at " STR(EC_DATE)
+#define COMPILE_INFO "Revision " EC_STR(EC_REV) \
+                     ", compiled by " EC_STR(EC_USER) \
+                     " at " EC_STR(EC_DATE)
 
 /*****************************************************************************/
 
-- 
GitLab