From 88fb8429b0d0abeed7087373241dd57918550974 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Wed, 30 Jun 2021 19:10:37 +0200 Subject: [PATCH] config: NOINLINE a couple of functions doing tll operations --- config.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/config.c b/config.c index 2fa9100e..5fd68a2d 100644 --- a/config.c +++ b/config.c @@ -193,7 +193,7 @@ struct path_component { }; typedef tll(struct path_component) path_components_t; -static void +static void NOINLINE path_component_add(path_components_t *components, const char *comp, int fd) { xassert(comp != NULL); @@ -203,14 +203,14 @@ path_component_add(path_components_t *components, const char *comp, int fd) tll_push_back(*components, pc); } -static void +static void NOINLINE path_component_destroy(struct path_component *component) { xassert(component->fd >= 0); close(component->fd); } -static void +static void NOINLINE path_components_destroy(path_components_t *components) { tll_foreach(*components, it) { @@ -1662,7 +1662,7 @@ pipe_argv_from_string(const char *value, char ***argv, return remove_len; } -static void +static void NOINLINE remove_action_from_key_bindings_list(struct config_key_binding_list *bindings, int action, char **pipe_argv) {