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

Author: Philippe Gerum <r...@xenomai.org>
Date:   Sun Jul 26 11:28:04 2015 +0200

lib/cobalt: drop weak symbol binding for base options

Overriding base option values declared as weak symbols is no more
relevant with the introduction of setup descriptors, which are less
error-prone and more flexible.

---

 lib/cobalt/init.c   |    2 +-
 lib/cobalt/printf.c |    6 +++---
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/lib/cobalt/init.c b/lib/cobalt/init.c
index 2a81814..4fde805 100644
--- a/lib/cobalt/init.c
+++ b/lib/cobalt/init.c
@@ -48,7 +48,7 @@
 
 __weak int __cobalt_control_bind = 0;
 
-__weak int __cobalt_main_prio = -1;
+int __cobalt_main_prio = -1;
 
 struct sigaction __cobalt_orig_sigdebug;
 
diff --git a/lib/cobalt/printf.c b/lib/cobalt/printf.c
index c016fb2..b91a17c 100644
--- a/lib/cobalt/printf.c
+++ b/lib/cobalt/printf.c
@@ -68,11 +68,11 @@ struct print_buffer {
        off_t read_pos;
 };
 
-__weak int __cobalt_print_bufsz = RT_PRINT_DEFAULT_BUFFER;
+int __cobalt_print_bufsz = RT_PRINT_DEFAULT_BUFFER;
 
-__weak int __cobalt_print_bufcount = RT_PRINT_DEFAULT_BUFFERS_COUNT;
+int __cobalt_print_bufcount = RT_PRINT_DEFAULT_BUFFERS_COUNT;
 
-__weak int __cobalt_print_syncdelay = RT_PRINT_DEFAULT_SYNCDELAY;
+int __cobalt_print_syncdelay = RT_PRINT_DEFAULT_SYNCDELAY;
 
 static struct print_buffer *first_buffer;
 static int buffers;


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

Reply via email to