summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/tree.c2
-rw-r--r--src/tree.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/tree.c b/src/tree.c
index 64d7230..59979ee 100644
--- a/src/tree.c
+++ b/src/tree.c
@@ -247,7 +247,7 @@ mq_tree_remove_allocated(MqTree *node)
debug_print_tree("Removed node", node);
}
-static MqTree *
+static MqTree * G_GNUC_PURE
seek(MqTree *node, gint offset)
{
/* Skip forward to the containing subtree. */
diff --git a/src/tree.h b/src/tree.h
index 6c4731a..973ad07 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -78,7 +78,7 @@ mq_tree_remove_allocated(MqTree *node);
((node) ? (((MqTree *) (node))->first_child) : NULL)
MqTree *
-mq_tree_seek(MqTree *node, gint offset);
+mq_tree_seek(MqTree *node, gint offset) G_GNUC_PURE;
void
mq_tree_foreach(MqTree *node, gboolean (*cb)(MqTree *node, gpointer user_data),