From 4a36323f1bf9b6db20faa5f512095d1bb7bced2b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Mon, 7 Jan 2013 19:32:55 +0100 Subject: [PATCH] Queue: don't include glib.h --- src/Queue.hxx | 4 +--- 1 file changed, 1 insertion(+), 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 - #include #include @@ -187,7 +185,7 @@ struct queue { } } - G_GNUC_PURE + gcc_pure uint8_t GetPriorityAtPosition(unsigned position) const { assert(position < length);