aboutsummaryrefslogtreecommitdiffstats
path: root/src/playlist_print.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-02-04 21:04:30 +0100
committerMax Kellermann <max@duempel.org>2009-02-04 21:04:30 +0100
commit60bec7766494b2f904658006dfc217d241f44ce8 (patch)
tree4395f0db4fac3bc26d3b43ba0098db7f1308d18c /src/playlist_print.h
parentf81728592278c667f4928d5201cd7932d6c4e8aa (diff)
downloadmpd-60bec7766494b2f904658006dfc217d241f44ce8.tar.gz
mpd-60bec7766494b2f904658006dfc217d241f44ce8.tar.xz
mpd-60bec7766494b2f904658006dfc217d241f44ce8.zip
playlist_print: use bool instead of int
Return true on success, instead of 0. Converted the "detail" parameter to bool.
Diffstat (limited to 'src/playlist_print.h')
-rw-r--r--src/playlist_print.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/playlist_print.h b/src/playlist_print.h
index cf92bfdbb..68ffb2032 100644
--- a/src/playlist_print.h
+++ b/src/playlist_print.h
@@ -19,9 +19,11 @@
#ifndef PLAYLIST_PRINT_H
#define PLAYLIST_PRINT_H
+#include <stdbool.h>
+
struct client;
-int
-spl_print(struct client *client, const char *name_utf8, int detail);
+bool
+spl_print(struct client *client, const char *name_utf8, bool detail);
#endif