aboutsummaryrefslogtreecommitdiffstats
path: root/src/IOThread.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-14 09:15:29 +0100
committerMax Kellermann <max@duempel.org>2013-01-14 09:15:49 +0100
commitbe98afe34d550a322adea78f92f1fd2088408e96 (patch)
treebe1dde48b01f25a5b30751c4edc196755a03c27b /src/IOThread.hxx
parentf53dadcc6d0a29ce7419a07a51762b4b44654696 (diff)
downloadmpd-be98afe34d550a322adea78f92f1fd2088408e96.tar.gz
mpd-be98afe34d550a322adea78f92f1fd2088408e96.tar.xz
mpd-be98afe34d550a322adea78f92f1fd2088408e96.zip
IOThread: use gcc.h
Diffstat (limited to 'src/IOThread.hxx')
-rw-r--r--src/IOThread.hxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/IOThread.hxx b/src/IOThread.hxx
index 8b0e687ab..b1731c263 100644
--- a/src/IOThread.hxx
+++ b/src/IOThread.hxx
@@ -20,6 +20,8 @@
#ifndef MPD_IO_THREAD_HXX
#define MPD_IO_THREAD_HXX
+#include "gcc.h"
+
#include <glib.h>
void
@@ -47,25 +49,25 @@ io_thread_quit(void);
void
io_thread_deinit(void);
-G_GNUC_PURE
+gcc_pure
GMainContext *
io_thread_context(void);
/**
* Is the current thread the I/O thread?
*/
-G_GNUC_PURE
+gcc_pure
bool
io_thread_inside(void);
guint
io_thread_idle_add(GSourceFunc function, gpointer data);
-G_GNUC_MALLOC
+gcc_malloc
GSource *
io_thread_timeout_add(guint interval_ms, GSourceFunc function, gpointer data);
-G_GNUC_MALLOC
+gcc_malloc
GSource *
io_thread_timeout_add_seconds(guint interval,
GSourceFunc function, gpointer data);