aboutsummaryrefslogtreecommitdiff
path: root/config.h
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-12 11:01:56 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-12 13:21:43 +0000
commit99db7aa7cfe55c2485c31e9f0fefd459fc1c09f2 (patch)
tree1ec614623937cde3fa115e7916577bc329349ee3 /config.h
parentconfig: simplify lookup of foot.ini (diff)
config: config_free(): pass conf struct by pointer, not by-value
Diffstat (limited to 'config.h')
-rw-r--r--config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.h b/config.h
index 79311c86..76768562 100644
--- a/config.h
+++ b/config.h
@@ -328,7 +328,7 @@ bool config_load(
struct config *conf, const char *path,
user_notifications_t *initial_user_notifications,
config_override_t *overrides, bool errors_are_fatal);
-void config_free(struct config conf);
+void config_free(struct config *conf);
struct config *config_clone(const struct config *old);
bool config_font_parse(const char *pattern, struct config_font *font);