mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2025-01-22 04:13:30 +08:00
obexd: Move __terminated into signal handler
This commit is contained in:
parent
3a10e8a448
commit
9ba1d688bf
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user