diff options
author | Max Kellermann <max@duempel.org> | 2009-01-22 16:12:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-22 16:12:34 +0100 |
commit | 1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91 (patch) | |
tree | deb75a9e6ea111728571f99357c69d05697531dc /src/locate.h | |
parent | d47be76ce09ab3de9dfd5989ea65ca305c723f73 (diff) | |
download | mpd-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.h | 7 |
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 |