[Xenomai-git] Jan Kiszka : lib/cobalt: Mark __cobalt_print_bufsz weak

2015-12-10 Thread git repository hosting
Module: xenomai-3
Branch: stable-3.0.x
Commit: 42dc26196148ce1db2d763fa7dab6534d1eb97b7
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=42dc26196148ce1db2d763fa7dab6534d1eb97b7

Author: Jan Kiszka 
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 

---

 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


[Xenomai-git] Jan Kiszka : lib/cobalt: Mark __cobalt_print_bufsz weak

2015-12-10 Thread git repository hosting
Module: xenomai-3
Branch: next
Commit: 9f65bebd702ba2cd6eee4cce8802d4fb1df2980b
URL:
http://git.xenomai.org/?p=xenomai-3.git;a=commit;h=9f65bebd702ba2cd6eee4cce8802d4fb1df2980b

Author: Jan Kiszka 
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 

---

 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


[Xenomai-git] Jan Kiszka : lib/cobalt: Mark __cobalt_print_bufsz weak

2015-11-30 Thread git repository hosting
Module: xenomai-jki
Branch: for-forge
Commit: d5e1c928c72b72a47a1d5c6863c0d79b9d79c766
URL:
http://git.xenomai.org/?p=xenomai-jki.git;a=commit;h=d5e1c928c72b72a47a1d5c6863c0d79b9d79c766

Author: Jan Kiszka 
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 

---

 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