mirror of git://git.sysmocom.de/ofono
tools: remove calls to g_thread_init
This commit is contained in:
parent
f11633f837
commit
59162e4363
|
@ -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);
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue