aboutsummaryrefslogtreecommitdiffstats
path: root/src/locate.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-22 16:12:34 +0100
committerMax Kellermann <max@duempel.org>2009-01-22 16:12:34 +0100
commit1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91 (patch)
treedeb75a9e6ea111728571f99357c69d05697531dc /src/locate.h
parentd47be76ce09ab3de9dfd5989ea65ca305c723f73 (diff)
downloadmpd-1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91.tar.gz
mpd-1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91.tar.xz
mpd-1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91.zip
locate: use const pointers
Pass const pointers where no writes are performed.
Diffstat (limited to '')
-rw-r--r--src/locate.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/locate.h b/src/locate.h
index 1e57686de..fbcc8831d 100644
--- a/src/locate.h
+++ b/src/locate.h
@@ -47,10 +47,11 @@ void freeLocateTagItemArray(int count, LocateTagItem * array);
void freeLocateTagItem(LocateTagItem * item);
int
-strstrSearchTags(struct song *song, int numItems, LocateTagItem * items);
+strstrSearchTags(const struct song *song, int numItems,
+ const LocateTagItem * items);
int
-tagItemsFoundAndMatches(struct song *song, int numItems,
- LocateTagItem * items);
+tagItemsFoundAndMatches(const struct song *song, int numItems,
+ const LocateTagItem * items);
#endif