De-inline non-trivial, non-performance-critical functions
Functions that should stay inlined should have an explanation attached to them. git-svn-id: https://svn.musicpd.org/mpd/trunk@4355 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
@@ -147,7 +147,7 @@ static int printSongInDirectory(FILE * fp, Song * song, void * data) {
|
||||
return 0;
|
||||
}
|
||||
|
||||
static inline int strstrSearchTag(Song * song, int type, char * str) {
|
||||
static int strstrSearchTag(Song * song, int type, char * str) {
|
||||
int i;
|
||||
char * dup;
|
||||
int ret = 0;
|
||||
@@ -224,7 +224,7 @@ int searchForSongsIn(FILE * fp, char * name, int numItems,
|
||||
return ret;
|
||||
}
|
||||
|
||||
static inline int tagItemFoundAndMatches(Song * song, int type, char * str) {
|
||||
static int tagItemFoundAndMatches(Song * song, int type, char * str) {
|
||||
int i;
|
||||
|
||||
if(type == LOCATE_TAG_FILE_TYPE) {
|
||||
|
||||
Reference in New Issue
Block a user