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

Author: Jan Kiszka <jan.kis...@siemens.com>
Date:   Mon Nov 30 13:56:13 2015 +0100

lib/cobalt: Mark __cobalt_print_bufsz weak

It is overwritten by libcopperplate.

Signed-off-by: Jan Kiszka <jan.kis...@siemens.com>

---

 lib/cobalt/printf.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/cobalt/printf.c b/lib/cobalt/printf.c
index bb34d7e..797a9b5 100644
--- a/lib/cobalt/printf.c
+++ b/lib/cobalt/printf.c
@@ -68,7 +68,7 @@ struct print_buffer {
        off_t read_pos;
 };
 
-int __cobalt_print_bufsz = RT_PRINT_DEFAULT_BUFFER;
+__weak int __cobalt_print_bufsz = RT_PRINT_DEFAULT_BUFFER;
 
 int __cobalt_print_bufcount = RT_PRINT_DEFAULT_BUFFERS_COUNT;
 


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

Reply via email to