[Spice-devel] [PATCH spice 1/3] Fix compiling with defined DEBUG_DISPATCHER

Pavel Grunt pgrunt at redhat.com
Thu Jun 30 09:17:48 UTC 2016


setup_dummy_signal_handler was used before declared
---
 server/dispatcher.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/server/dispatcher.c b/server/dispatcher.c
index 8c55881..44624cc 100644
--- a/server/dispatcher.c
+++ b/server/dispatcher.c
@@ -36,6 +36,8 @@
 
 #ifdef DEBUG_DISPATCHER
 #include <signal.h>
+
+static void setup_dummy_signal_handler(void);
 #endif
 
 G_DEFINE_TYPE(Dispatcher, dispatcher, G_TYPE_OBJECT)
-- 
2.9.0



More information about the Spice-devel mailing list