Remove a couple more unused functions

git-svn-id: https://svn.musicpd.org/mpd/trunk@4315 09075e82-0dd4-0310-85a5-a0d7c8717e4f
This commit is contained in:
Avuton Olrich 2006-07-13 19:01:42 +00:00
parent 8f37161c34
commit 93681d914e
2 changed files with 0 additions and 22 deletions

View File

@ -400,24 +400,4 @@ void printSavedMemoryFromFilenames() {
DEBUG("saved memory from filenames: %i\n", sum);
}
static int sumSavedDirectoryNameMemoryInDirectory(FILE * fp, Directory * dir, void * data) {
int * sum = data;
if(!dir->path) return 0;
*sum += (strlen(getDirectoryPath(dir))+1)*
dir->subDirectories->numberOfNodes;
*sum += strlen(dir->path)+1;
return 0;
}
static void printSavedMemoryFromDirectoryNames() {
int sum = 0;
traverseAllIn(stderr, NULL, NULL,
sumSavedDirectoryNameMemoryInDirectory, (void *)&sum);
DEBUG("saved memory from directory names: %i\n", sum);
}

View File

@ -47,6 +47,4 @@ int listAllUniqueTags(FILE * fp, int type, int numConditiionals,
void printSavedMemoryFromFilenames();
void printSavedMemoryFromDirectoryNames();
#endif