aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOThread.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-09-03 11:28:47 +0200
committerMax Kellermann <max@duempel.org>2013-09-03 11:28:47 +0200
commit4db119c01b1c9a10a070a2b23a3d43ca2dc722c5 (patch)
tree3f28777c86cd588df4c29569afe17d0f803fb10b /src/IOThread.hxx
parentbbd711556476d5ef3510678a5e525974821803b2 (diff)
downloadmpd-4db119c01b1c9a10a070a2b23a3d43ca2dc722c5.tar.gz
mpd-4db119c01b1c9a10a070a2b23a3d43ca2dc722c5.tar.xz
mpd-4db119c01b1c9a10a070a2b23a3d43ca2dc722c5.zip
IOThread: use FatalError() on g_thread_create() error
New GLib versions don't fail.
Diffstat (limited to '')
-rw-r--r--src/IOThread.hxx6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/IOThread.hxx b/src/IOThread.hxx
index 8c6f233ab..cfa34a494 100644
--- a/src/IOThread.hxx
+++ b/src/IOThread.hxx
@@ -22,15 +22,13 @@
#include "gcc.h"
-#include <glib.h>
-
class EventLoop;
void
io_thread_init(void);
-bool
-io_thread_start(GError **error_r);
+void
+io_thread_start();
/**
* Run the I/O event loop synchronously in the current thread. This