From 449ac7c361f6e16c499c402b261ed7c82a3e83d8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Fri, 7 May 2021 17:18:27 +0200 Subject: [PATCH] =?UTF-8?q?config:=20don=E2=80=99t=20inline=20str=5Fto=5F*?= =?UTF-8?q?()=20functions?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- config.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) diff --git a/config.c b/config.c index 69af3573..ba71a60b 100644 --- a/config.c +++ b/config.c @@ -362,7 +362,7 @@ done: goto out; } -static bool +static bool NOINLINE str_to_bool(const char *s) { return strcasecmp(s, "on") == 0 || @@ -371,7 +371,7 @@ str_to_bool(const char *s) strtoul(s, NULL, 0) > 0; } -static bool +static bool NOINLINE str_to_ulong(const char *s, int base, unsigned long *res) { if (s == NULL) @@ -384,7 +384,7 @@ str_to_ulong(const char *s, int base, unsigned long *res) return errno == 0 && *end == '\0'; } -static bool +static bool NOINLINE str_to_double(const char *s, double *res) { if (s == NULL) @@ -397,7 +397,7 @@ str_to_double(const char *s, double *res) return errno == 0 && *end == '\0'; } -static bool +static bool NOINLINE str_to_wchars(const char *s, wchar_t **res, struct config *conf, const char *path, int lineno, const char *section, const char *key) @@ -416,7 +416,7 @@ str_to_wchars(const char *s, wchar_t **res, struct config *conf, return true; } -static bool +static bool NOINLINE str_to_color(const char *s, uint32_t *color, bool allow_alpha, struct config *conf, const char *path, int lineno, const char *section, const char *key) @@ -439,7 +439,7 @@ str_to_color(const char *s, uint32_t *color, bool allow_alpha, return true; } -static bool +static bool NOINLINE str_to_two_colors(const char *s, uint32_t *first, uint32_t *second, bool allow_alpha, struct config *conf, const char *path, int lineno, const char *section, const char *key) @@ -463,7 +463,7 @@ str_to_two_colors(const char *s, uint32_t *first, uint32_t *second, return true; } -static bool +static bool NOINLINE str_to_pt_or_px(const char *s, struct pt_or_px *res, struct config *conf, const char *path, int lineno, const char *section, const char *key) { @@ -497,7 +497,7 @@ str_to_pt_or_px(const char *s, struct pt_or_px *res, struct config *conf, return true; } -static bool +static bool NOINLINE str_to_spawn_template(struct config *conf, const char *s, struct config_spawn_template *template, const char *path, int lineno, const char *section,