aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/dbUtils.c27
1 files changed, 18 insertions, 9 deletions
diff --git a/src/dbUtils.c b/src/dbUtils.c
index e26ceb43f..09e7e0968 100644
--- a/src/dbUtils.c
+++ b/src/dbUtils.c
@@ -1,3 +1,21 @@
+/* the Music Player Daemon (MPD)
+ * (c)2003-2006 by Warren Dukes (shank@mercury.chem.pitt.edu)
+ * This project's homepage is: http://www.musicpd.org
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
+ */
+
#include "dbUtils.h"
#include "directory.h"
@@ -391,13 +409,4 @@ static int sumSavedFilenameMemoryInSong(FILE * fp, Song * song, void * data) {
return 0;
}
-void printSavedMemoryFromFilenames() {
- int sum = 0;
-
- traverseAllIn(stderr, NULL, sumSavedFilenameMemoryInSong,
- sumSavedFilenameMemoryInDirectory, (void *)&sum);
-
- DEBUG("saved memory from filenames: %i\n", sum);
-}
-