aboutsummaryrefslogtreecommitdiffstats
path: root/src/locate.h
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.h
parent9e51733c717b0727e21949aa23823c4f8a6936a6 (diff)
downloadmpd-668e3f664f1632ec7ef97afb4fbe467d02be85d9.tar.gz
mpd-668e3f664f1632ec7ef97afb4fbe467d02be85d9.tar.xz
mpd-668e3f664f1632ec7ef97afb4fbe467d02be85d9.zip
locate: add "pure" attributes
Diffstat (limited to 'src/locate.h')
-rw-r--r--src/locate.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/locate.h b/src/locate.h
index 25ca790eb..5682679d1 100644
--- a/src/locate.h
+++ b/src/locate.h
@@ -48,6 +48,7 @@ struct locate_item_list {
struct locate_item items[1];
};
+gcc_pure
int
locate_parse_type(const char *str);
@@ -67,11 +68,13 @@ gcc_nonnull(1)
void
locate_item_list_free(struct locate_item_list *list);
+gcc_pure
gcc_nonnull(1,2)
bool
locate_song_search(const struct song *song,
const struct locate_item_list *criteria);
+gcc_pure
gcc_nonnull(1,2)
bool
locate_song_match(const struct song *song,