Diff between 3a10e8a44894edb7fec5a24252512671a1a20125 and 9ba1d688bf99d3f612b05e47ab25a5104f7a38aa

Changed Files

File Additions Deletions Status
obexd/src/main.c +1 -2 modified

Full Patch

diff --git a/obexd/src/main.c b/obexd/src/main.c
index 079520d..09a01b7 100644
--- a/obexd/src/main.c
+++ b/obexd/src/main.c
@@ -56,11 +56,10 @@
 
 static GMainLoop *main_loop = NULL;
 
-static unsigned int __terminated = 0;
-
 static gboolean signal_handler(GIOChannel *channel, GIOCondition cond,
 							gpointer user_data)
 {
+	static unsigned int __terminated = 0;
 	struct signalfd_siginfo si;
 	ssize_t result;
 	int fd;