Module: xenomai-forge
Branch: next
Commit: a198a006249a007053fd6be7f211ce7c3ffbe849
URL:    
http://git.xenomai.org/?p=xenomai-forge.git;a=commit;h=a198a006249a007053fd6be7f211ce7c3ffbe849

Author: Philippe Gerum <r...@xenomai.org>
Date:   Fri Aug  8 14:20:20 2014 +0200

trank: use non-ambiguous naming for overriden symbols

---

 include/trank/trank.h |    8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/include/trank/trank.h b/include/trank/trank.h
index 60f5f3e..26cdc35 100644
--- a/include/trank/trank.h
+++ b/include/trank/trank.h
@@ -23,7 +23,7 @@
 #define trank_warning(__fmt, __args...)        \
        warning("%s: " __fmt, __func__, ##__args)
 
-#define __CURRENT(call)                __trank_ ## call
+#define __CURRENT(call)                __hidden_ ## call
 
 #define COMPAT_DECL(T, P)      __typeof__(T) P
 #define CURRENT_DECL(T, P)     __typeof__(T) __CURRENT(P)
@@ -36,11 +36,11 @@
 
 #define COMPAT_DECL(T, P)
 #define CURRENT_DECL(T, P)     __typeof__(T) P;        \
-                               __typeof__(T) __trank_ ## P
+                               __typeof__(T) __hidden_ ## P
 
 #define CURRENT_IMPL(T, I, A)          \
-__typeof__(T) I A __attribute__((alias("__trank_" __stringify(I)), weak)); \
-__typeof__(T) __trank_ ## I A
+__typeof__(T) I A __attribute__((alias("__hidden_" __stringify(I)), weak)); \
+__typeof__(T) __hidden_ ## I A
 
 #endif /* !__XENO_COMPAT__ */
 


_______________________________________________
Xenomai-git mailing list
Xenomai-git@xenomai.org
http://www.xenomai.org/mailman/listinfo/xenomai-git

Reply via email to