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

Author: Gilles Chanteperdrix <gilles.chanteperd...@xenomai.org>
Date:   Tue Feb  2 00:46:32 2010 +0100

skins: avoid extern weak declarations

They cause screwed up binaries. The weak attribute is for the linker
anyway, so does not need to be present at the symbol declaration.

---

 include/asm-generic/bits/sigshadow.h |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diff --git a/include/asm-generic/bits/sigshadow.h 
b/include/asm-generic/bits/sigshadow.h
index 5a32762..e07ce00 100644
--- a/include/asm-generic/bits/sigshadow.h
+++ b/include/asm-generic/bits/sigshadow.h
@@ -4,10 +4,10 @@
 #include <pthread.h>
 #include <signal.h>
 
-extern pthread_once_t __attribute__((weak)) xeno_sigshadow_installed;
-extern struct sigaction __attribute__((weak)) xeno_saved_sigshadow_action;
+extern pthread_once_t xeno_sigshadow_installed;
+extern struct sigaction xeno_saved_sigshadow_action;
 
-void __attribute__((weak)) xeno_sigshadow_install(void);
+void xeno_sigshadow_install(void);
 
 static inline void sigshadow_install_once(void)
 {


_______________________________________________
Xenomai-git mailing list
Xenomai-git@gna.org
https://mail.gna.org/listinfo/xenomai-git

Reply via email to