aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2013-01-07 19:32:55 +0100
committerMax Kellermann <max@duempel.org>2013-01-07 22:01:56 +0100
commit4a36323f1bf9b6db20faa5f512095d1bb7bced2b (patch)
tree66164727da26ff0fc96db19ced96a5fd697f3ce6 /src
parentc6281b2680ec10d31d00869091a0f918041a0554 (diff)
downloadmpd-4a36323f1bf9b6db20faa5f512095d1bb7bced2b.tar.gz
mpd-4a36323f1bf9b6db20faa5f512095d1bb7bced2b.tar.xz
mpd-4a36323f1bf9b6db20faa5f512095d1bb7bced2b.zip
Queue: don't include glib.h
Diffstat (limited to 'src')
-rw-r--r--src/Queue.hxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/Queue.hxx b/src/Queue.hxx
index 00af9b666..3865aa86e 100644
--- a/src/Queue.hxx
+++ b/src/Queue.hxx
@@ -23,8 +23,6 @@
#include "gcc.h"
#include "util/LazyRandomEngine.hxx"
-#include <glib.h>
-
#include <algorithm>
#include <assert.h>
@@ -187,7 +185,7 @@ struct queue {
}
}
- G_GNUC_PURE
+ gcc_pure
uint8_t GetPriorityAtPosition(unsigned position) const {
assert(position < length);