aboutsummaryrefslogtreecommitdiffstats
path: root/src/log.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-11-05 18:39:10 +0100
committerMax Kellermann <max@duempel.org>2008-11-05 18:39:10 +0100
commit787c6f5e18a6855b3c16a9957edef8da109d686b (patch)
tree4d69b27b5f3132f321df9894a262e17469a80f73 /src/log.h
parent4c967a6ba26057ffb4fd9822a7b77f8af64f734f (diff)
downloadmpd-787c6f5e18a6855b3c16a9957edef8da109d686b.tar.gz
mpd-787c6f5e18a6855b3c16a9957edef8da109d686b.tar.xz
mpd-787c6f5e18a6855b3c16a9957edef8da109d686b.zip
log: use bool
Use the bool data type for flags.
Diffstat (limited to 'src/log.h')
-rw-r--r--src/log.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/log.h b/src/log.h
index 275754554..23e6d30be 100644
--- a/src/log.h
+++ b/src/log.h
@@ -21,6 +21,8 @@
#include "gcc.h"
+#include <stdbool.h>
+
mpd_printf void ERROR(const char *fmt, ...);
mpd_printf void LOG(const char *fmt, ...);
mpd_printf void SECURE(const char *fmt, ...);
@@ -28,11 +30,11 @@ mpd_printf void DEBUG(const char *fmt, ...);
mpd_printf void WARNING(const char *fmt, ...);
mpd_printf mpd_noreturn void FATAL(const char *fmt, ...);
-void initLog(const int verbose);
+void initLog(bool verbose);
-void setup_log_output(const int use_stdout);
+void setup_log_output(bool use_stdout);
-void open_log_files(const int use_stdout);
+void open_log_files(bool use_stdout);
int cycle_log_files(void);