diff options
author | Giacinto Cifelli <gciofono@gmail.com> | 2018-09-20 06:39:41 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2018-09-20 10:40:29 -0500 |
commit | 59162e43632aa571b2466c0883b6cee17c402965 (patch) | |
tree | 3a9f3ec7a089d4b05445033744364b94589f412a /tools | |
parent | f11633f83751b65a202a2c6486bb1dfbe25d975a (diff) | |
download | ofono-59162e43632aa571b2466c0883b6cee17c402965.tar.gz |
tools: remove calls to g_thread_init
Diffstat (limited to 'tools')
-rw-r--r-- | tools/auto-enable.c | 5 | ||||
-rw-r--r-- | tools/huawei-audio.c | 5 |
2 files changed, 0 insertions, 10 deletions
diff --git a/tools/auto-enable.c b/tools/auto-enable.c index 87fb0a8d..5195aaad 100644 --- a/tools/auto-enable.c +++ b/tools/auto-enable.c @@ -492,11 +492,6 @@ int main(int argc, char **argv) guint watch; struct sigaction sa; -#ifdef NEED_THREADS - if (g_thread_supported() == FALSE) - g_thread_init(NULL); -#endif - context = g_option_context_new(NULL); g_option_context_add_main_entries(context, options, NULL); diff --git a/tools/huawei-audio.c b/tools/huawei-audio.c index 9997a581..10b599f1 100644 --- a/tools/huawei-audio.c +++ b/tools/huawei-audio.c @@ -775,11 +775,6 @@ int main(int argc, char **argv) guint watch; struct sigaction sa; -#ifdef NEED_THREADS - if (g_thread_supported() == FALSE) - g_thread_init(NULL); -#endif - context = g_option_context_new(NULL); g_option_context_add_main_entries(context, options, NULL); |