diff options
author | Max Kellermann <max@duempel.org> | 2008-09-06 15:28:31 +0200 |
---|---|---|
committer | Eric Wong <normalperson@yhbt.net> | 2008-09-09 00:46:46 -0700 |
commit | 57b17b7e6585fc9dfdaee10e31441e39354a4422 (patch) | |
tree | c1583afbe8bd5c07ebe704d2519fbd519606a915 /src/directory.h | |
parent | dccdfce721ffe730de2f55a67ecd1acfcb19bb0a (diff) | |
download | mpd-57b17b7e6585fc9dfdaee10e31441e39354a4422.tar.gz mpd-57b17b7e6585fc9dfdaee10e31441e39354a4422.tar.xz mpd-57b17b7e6585fc9dfdaee10e31441e39354a4422.zip |
dbUtils, playlist, directory: pass constant pointers
The usual bunch of const pointer conversions.
Diffstat (limited to '')
-rw-r--r-- | src/directory.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directory.h b/src/directory.h index acb173fc0..00b902510 100644 --- a/src/directory.h +++ b/src/directory.h @@ -60,11 +60,11 @@ int readDirectoryDB(void); void updateMp3Directory(void); -Song *getSongFromDB(char *file); +Song *getSongFromDB(const char *file); time_t getDbModTime(void); -int traverseAllIn(int fd, char *name, +int traverseAllIn(int fd, const char *name, int (*forEachSong) (int, Song *, void *), int (*forEachDir) (int, Directory *, void *), void *data); |