aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
authorEric Wong <normalperson@yhbt.net>2006-07-15 13:42:57 +0000
committerEric Wong <normalperson@yhbt.net>2006-07-15 13:42:57 +0000
commitb4df8b8f880648e63781395e1a350f258b809a18 (patch)
tree3e26b8faf86cf68f35506eb3e59b73d9477211e7 /src/dbUtils.c
parent563e4c95fdea05dc162442d6b3a66e3fa0a13a48 (diff)
downloadmpd-b4df8b8f880648e63781395e1a350f258b809a18.tar.gz
mpd-b4df8b8f880648e63781395e1a350f258b809a18.tar.xz
mpd-b4df8b8f880648e63781395e1a350f258b809a18.zip
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
Diffstat (limited to 'src/dbUtils.c')
-rw-r--r--src/dbUtils.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index ecc8b8878..236d0d734 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -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) {