aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-06-30 17:10:37 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-06-30 17:10:37 +0000
commit88fb8429b0d0abeed7087373241dd57918550974 (patch)
tree3156298febf5b581fd24fa58872d351dbcf09ab8
parentMerge branch 'remove-unused-key-bindings' (diff)
config: NOINLINE a couple of functions doing tll operations
-rw-r--r--config.c8
1 files 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)
{