aboutsummaryrefslogtreecommitdiffstats
path: root/src/song.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-08 11:06:26 +0200
committerMax Kellermann <max@duempel.org>2008-10-08 11:06:26 +0200
commit02e8c000d1eaa2ff3c81bf59b8293b8912d5be3c (patch)
treef1fd1baa2590c5bf6e38c6599bcedc6f2d8e8b96 /src/song.h
parent1f9b614850f6e350d1c94021fe3723e918f1d259 (diff)
downloadmpd-02e8c000d1eaa2ff3c81bf59b8293b8912d5be3c.tar.gz
mpd-02e8c000d1eaa2ff3c81bf59b8293b8912d5be3c.tar.xz
mpd-02e8c000d1eaa2ff3c81bf59b8293b8912d5be3c.zip
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.
Diffstat (limited to '')
-rw-r--r--src/song.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/song.h b/src/song.h
index 065b0a1bf..f1e889216 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);
/*