database: use stdbool

Make db_load(), db_save() and db_check() return bool instead of int.
This commit is contained in:
Max Kellermann
2009-01-04 21:18:40 +01:00
parent 82166b715c
commit 200ef56d4d
3 changed files with 27 additions and 26 deletions

View File

@@ -21,6 +21,7 @@
#define MPD_DATABASE_H
#include <sys/time.h>
#include <stdbool.h>
struct directory;
@@ -56,13 +57,13 @@ int db_walk(const char *name,
int (*forEachSong)(struct song *, void *),
int (*forEachDir)(struct directory *, void *), void *data);
int
bool
db_check(void);
int
bool
db_save(void);
int
bool
db_load(void);
time_t