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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Thu Sep 25 11:56:45 2014 +0200

include/trank: disambiguate symbol prefix for current implementation

GDB reveals raw symbols when tracing, so we should not introduce any
confusion about the meaning of such prefix.

---

 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 26cdc35..c6dee16 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)                __hidden_ ## call
+#define __CURRENT(call)                __current_ ## 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) __hidden_ ## P
+                               __typeof__(T) __current_ ## P
 
 #define CURRENT_IMPL(T, I, A)          \
-__typeof__(T) I A __attribute__((alias("__hidden_" __stringify(I)), weak)); \
-__typeof__(T) __hidden_ ## I A
+__typeof__(T) I A __attribute__((alias("__current_" __stringify(I)), weak)); \
+__typeof__(T) __current_ ## 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