diff options
-rw-r--r-- | common/util.c | 2 | ||||
-rw-r--r-- | include/util.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/common/util.c b/common/util.c index 33a0c77e..3fa0c03f 100644 --- a/common/util.c +++ b/common/util.c | |||
@@ -123,7 +123,7 @@ uint32_t parse_color(const char *color) { | |||
123 | return res; | 123 | return res; |
124 | } | 124 | } |
125 | 125 | ||
126 | bool parse_boolean(const char *boolean, const bool current) { | 126 | bool parse_boolean(const char *boolean, bool current) { |
127 | if (strcmp(boolean, "1") == 0 | 127 | if (strcmp(boolean, "1") == 0 |
128 | || strcmp(boolean, "yes") == 0 | 128 | || strcmp(boolean, "yes") == 0 |
129 | || strcmp(boolean, "on") == 0 | 129 | || strcmp(boolean, "on") == 0 |
diff --git a/include/util.h b/include/util.h index 40f2c7b1..bda941ce 100644 --- a/include/util.h +++ b/include/util.h | |||
@@ -56,7 +56,7 @@ uint32_t parse_color(const char *color); | |||
56 | * toggling is not desired, pass in true for current so that toggling values | 56 | * toggling is not desired, pass in true for current so that toggling values |
57 | * get parsed as not true. | 57 | * get parsed as not true. |
58 | */ | 58 | */ |
59 | bool parse_boolean(const char *boolean, const bool current); | 59 | bool parse_boolean(const char *boolean, bool current); |
60 | 60 | ||
61 | /** | 61 | /** |
62 | * Given a path string, recurseively resolves any symlinks to their targets | 62 | * Given a path string, recurseively resolves any symlinks to their targets |