From 1e6a26b6cae1e9bd90d820c6ea4ec8be2da2da91 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Thu, 22 Jan 2009 16:12:34 +0100 Subject: locate: use const pointers Pass const pointers where no writes are performed. --- src/locate.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'src/locate.h') 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 -- cgit v1.2.3