From 405da5f84b072ea97b69359454899f45d92d24b6 Mon Sep 17 00:00:00 2001 From: Albert Cervin Date: Wed, 22 May 2024 00:00:29 +0200 Subject: WIP LSP client This contains the start of an LSP client. Nothing (except starting the LSP server) works at the moment and the feature is disabled by default. --- src/dged/settings.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/dged/settings.h') diff --git a/src/dged/settings.h b/src/dged/settings.h index b88e483..fb79c75 100644 --- a/src/dged/settings.h +++ b/src/dged/settings.h @@ -26,7 +26,7 @@ struct setting_value { /** Type of setting. */ enum setting_type type; - union { + union setting_data { /** String setting. */ char *string_value; @@ -35,7 +35,7 @@ struct setting_value { /** Boolean setting value. */ bool bool_value; - }; + } data; }; /** @@ -73,7 +73,7 @@ void settings_init(uint32_t initial_capacity); /** * Destroy the global collection of settings. */ -void settings_destroy(); +void settings_destroy(void); /** * Retrieve a single setting by path. -- cgit v1.2.3