[Spice-devel] [PATCH spice-gtk 1/4] coroutine: don't force coroutine_init checking

Marc-André Lureau marcandre.lureau at gmail.com
Tue Nov 19 07:14:22 PST 2013


Just like any other C function
---
 gtk/coroutine.h | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/gtk/coroutine.h b/gtk/coroutine.h
index ef6f3db..8d6c406 100644
--- a/gtk/coroutine.h
+++ b/gtk/coroutine.h
@@ -56,7 +56,8 @@ struct coroutine
 };
 
 #define IN_MAIN_CONTEXT (coroutine_self() == NULL || coroutine_is_main_context(coroutine_self()))
-int coroutine_init(struct coroutine *co) G_GNUC_WARN_UNUSED_RESULT;
+
+int coroutine_init(struct coroutine *co);
 
 int coroutine_release(struct coroutine *co);
 
-- 
1.8.3.1



More information about the Spice-devel mailing list