aboutsummaryrefslogtreecommitdiffstats
path: root/src/conf.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-06-19 09:02:14 +0200
committerMax Kellermann <max@duempel.org>2009-06-25 08:40:02 +0200
commit5d583c9b2d21cf449c4b65f2306adf69d6739437 (patch)
treed3c650260c3ebf87a368915a8c2d091a711aecfa /src/conf.h
parent093e900d4453a9f28d442c1c24a9ba59c36b349c (diff)
downloadmpd-5d583c9b2d21cf449c4b65f2306adf69d6739437.tar.gz
mpd-5d583c9b2d21cf449c4b65f2306adf69d6739437.tar.xz
mpd-5d583c9b2d21cf449c4b65f2306adf69d6739437.zip
conf: make get_bool() return a bool
Instead of returning an artificial three-state integer, return a "success" value and put the boolean value into a "bool" pointer. That's a little bit more overhead, but an API which looks more natural.
Diffstat (limited to 'src/conf.h')
-rw-r--r--src/conf.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/src/conf.h b/src/conf.h
index 381159122..017a8c310 100644
--- a/src/conf.h
+++ b/src/conf.h
@@ -68,9 +68,6 @@
#define CONF_INPUT "input"
#define CONF_GAPLESS_MP3_PLAYBACK "gapless_mp3_playback"
-#define CONF_BOOL_UNSET -1
-#define CONF_BOOL_INVALID -2
-
#define DEFAULT_PLAYLIST_MAX_LENGTH (1024*16)
#define DEFAULT_PLAYLIST_SAVE_ABSOLUTE_PATHS false