From 60bec7766494b2f904658006dfc217d241f44ce8 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 4 Feb 2009 21:04:30 +0100 Subject: playlist_print: use bool instead of int Return true on success, instead of 0. Converted the "detail" parameter to bool. --- src/playlist_print.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'src/playlist_print.h') 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 + 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 -- cgit v1.2.3