aboutsummaryrefslogtreecommitdiffstats
path: root/src/dbUtils.c
diff options
context:
space:
mode:
authorAvuton Olrich <avuton@gmail.com>2006-07-13 19:20:34 +0000
committerAvuton Olrich <avuton@gmail.com>2006-07-13 19:20:34 +0000
commita37348a74f1e24eaf22f76d0b6eafed65a4cbd61 (patch)
tree9025d9d07ae804b09118dc3ae6d87ab44762a8b7 /src/dbUtils.c
parent09698f917cf8971e50e574d0aa9f2bcf1be8cfb1 (diff)
downloadmpd-a37348a74f1e24eaf22f76d0b6eafed65a4cbd61.tar.gz
mpd-a37348a74f1e24eaf22f76d0b6eafed65a4cbd61.tar.xz
mpd-a37348a74f1e24eaf22f76d0b6eafed65a4cbd61.zip
Huge header update, update the copyright and add
the GPL header where necessary git-svn-id: https://svn.musicpd.org/mpd/trunk@4317 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to 'src/dbUtils.c')
-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);
-}
-