diff options
author | Avuton Olrich <avuton@gmail.com> | 2006-08-20 00:50:44 +0000 |
---|---|---|
committer | Avuton Olrich <avuton@gmail.com> | 2006-08-20 00:50:44 +0000 |
commit | f79a70d1b9bab78fca515ac9142607ce2414e333 (patch) | |
tree | 9b851a6298a000e1feee859f430c9ccc5c297ddd /src/directory.h | |
parent | 9caade4eb11bc930f618650918db8b60b912c961 (diff) | |
download | mpd-f79a70d1b9bab78fca515ac9142607ce2414e333.tar.gz mpd-f79a70d1b9bab78fca515ac9142607ce2414e333.tar.xz mpd-f79a70d1b9bab78fca515ac9142607ce2414e333.zip |
Fix warnings for -Wmissing-prototypes
Add -Wmissing-prototypes if compiling with gcc
Static where possible
git-svn-id: https://svn.musicpd.org/mpd/trunk@4657 09075e82-0dd4-0310-85a5-a0d7c8717e4f
Diffstat (limited to '')
-rw-r--r-- | src/directory.h | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/directory.h b/src/directory.h index 975b32ae2..77ff609ff 100644 --- a/src/directory.h +++ b/src/directory.h @@ -39,31 +39,31 @@ typedef struct _Directory { DirectoryStat *stat; } Directory; -void readDirectoryDBIfUpdateIsFinished(); +void readDirectoryDBIfUpdateIsFinished(void); -int isUpdatingDB(); +int isUpdatingDB(void); void directory_sigChldHandler(int pid, int status); int updateInit(int fd, List * pathList); -void initMp3Directory(); +void initMp3Directory(void); -void closeMp3Directory(); +void closeMp3Directory(void); int printDirectoryInfo(int fd, char *dirname); -int checkDirectoryDB(); +int checkDirectoryDB(void); -int writeDirectoryDB(); +int writeDirectoryDB(void); -int readDirectoryDB(); +int readDirectoryDB(void); -void updateMp3Directory(); +void updateMp3Directory(void); Song *getSongFromDB(char *file); -time_t getDbModTime(); +time_t getDbModTime(void); int traverseAllIn(int fd, char *name, int (*forEachSong) (int, Song *, void *), |