aboutsummaryrefslogtreecommitdiff
path: root/src/conf.c
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-11-06 19:50:47 +0100
committerMax Kellermann <max@duempel.org>2009-11-06 19:50:47 +0100
commitf9218423b90a8effafba323abb088cebba34fb25 (patch)
tree994e8c48dd6bca294cca60398c49d27b7e4abb54 /src/conf.c
parentba34d48cf093cbfbe9d6e63e7177ba79791c6a4a (diff)
utils: renamed stringFoundInStringArray()
No CamelCase. Use bool instead of int. Make both arguments mandatory.
Diffstat (limited to 'src/conf.c')
-rw-r--r--src/conf.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/conf.c b/src/conf.c
index 803ad850..4da44c77 100644
--- a/src/conf.c
+++ b/src/conf.c
@@ -96,16 +96,6 @@ static struct config_entry config_entries[] = {
};
static bool
-string_array_contains(const char *const* array, const char *value)
-{
- for (const char *const* x = array; *x; x++)
- if (g_ascii_strcasecmp(*x, value) == 0)
- return true;
-
- return false;
-}
-
-static bool
get_bool(const char *value, bool *value_r)
{
static const char *t[] = { "yes", "true", "1", NULL };