From d562ba5fbbe117585eaade40a8e9c6ef1bf7ca1f Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 10:49:11 +0200 Subject: song: converted typedef Song to struct song Again, a data type which can be forward-declared. --- src/locate.h | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'src/locate.h') diff --git a/src/locate.h b/src/locate.h index 7a817828..4fbc634b 100644 --- a/src/locate.h +++ b/src/locate.h @@ -19,11 +19,13 @@ #ifndef LOCATE_H #define LOCATE_H -#include "song.h" +#include #define LOCATE_TAG_FILE_TYPE TAG_NUM_OF_ITEM_TYPES+10 #define LOCATE_TAG_ANY_TYPE TAG_NUM_OF_ITEM_TYPES+20 +struct song; + /* struct used for search, find, list queries */ typedef struct _LocateTagItem { int8_t tagType; @@ -44,8 +46,11 @@ void freeLocateTagItemArray(int count, LocateTagItem * array); void freeLocateTagItem(LocateTagItem * item); -int strstrSearchTags(Song * song, int numItems, LocateTagItem * items); +int +strstrSearchTags(struct song *song, int numItems, LocateTagItem * items); -int tagItemsFoundAndMatches(Song * song, int numItems, LocateTagItem * items); +int +tagItemsFoundAndMatches(struct song *song, int numItems, + LocateTagItem * items); #endif -- cgit v1.2.3