From 02e8c000d1eaa2ff3c81bf59b8293b8912d5be3c Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 8 Oct 2008 11:06:26 +0200 Subject: song: song_file_update() returns bool Instead of returning 0 or -1, return true on success and false on failure. This seems more natural, and when the C library was designed, there was no "bool" data type. --- src/song.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/song.h') diff --git a/src/song.h b/src/song.h index 065b0a1b..f1e88921 100644 --- a/src/song.h +++ b/src/song.h @@ -55,7 +55,7 @@ song_file_load(const char *path, struct directory *parent); void song_free(struct song *song); -int +bool song_file_update(struct song *song); /* -- cgit v1.2.3