aboutsummaryrefslogtreecommitdiffstats
path: root/src/locate.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2012-08-07 23:43:36 +0200
committerMax Kellermann <max@duempel.org>2012-08-07 23:43:36 +0200
commit668e3f664f1632ec7ef97afb4fbe467d02be85d9 (patch)
tree9893ff4c581f3156d7dfea822d6a4b65f39bdfff /src/locate.c
parent9e51733c717b0727e21949aa23823c4f8a6936a6 (diff)
downloadmpd-668e3f664f1632ec7ef97afb4fbe467d02be85d9.tar.gz
mpd-668e3f664f1632ec7ef97afb4fbe467d02be85d9.tar.xz
mpd-668e3f664f1632ec7ef97afb4fbe467d02be85d9.zip
locate: add "pure" attributes
Diffstat (limited to '')
-rw-r--r--src/locate.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/locate.c b/src/locate.c
index dd6902e3f..ef746213a 100644
--- a/src/locate.c
+++ b/src/locate.c
@@ -104,6 +104,7 @@ locate_item_list_parse(char *argv[], int argc, bool fold_case)
return list;
}
+gcc_pure
static bool
locate_tag_search(const struct song *song, enum tag_type type, const char *str)
{
@@ -164,6 +165,7 @@ locate_song_search(const struct song *song,
return true;
}
+gcc_pure
static bool
locate_tag_match(const struct song *song, enum tag_type type, const char *str)
{