From f58a3a7e1d2f87778aeb9c895bd0a4a3b6eef099 Mon Sep 17 00:00:00 2001 From: Pekka Paalanen Date: Fri, 11 Mar 2022 14:37:43 +0200 Subject: [PATCH] include: drop unused config-parser.h types Apparently these are not used anywhere. Garbage-collect them, and trim some empty lines. Signed-off-by: Pekka Paalanen --- include/libweston/config-parser.h | 22 ---------------------- 1 file changed, 22 deletions(-) diff --git a/include/libweston/config-parser.h b/include/libweston/config-parser.h index d82197bf..343ff53d 100644 --- a/include/libweston/config-parser.h +++ b/include/libweston/config-parser.h @@ -35,26 +35,6 @@ extern "C" { #define WESTON_CONFIG_FILE_ENV_VAR "WESTON_CONFIG_FILE" -enum config_key_type { - CONFIG_KEY_INTEGER, /* typeof data = int */ - CONFIG_KEY_UNSIGNED_INTEGER, /* typeof data = unsigned int */ - CONFIG_KEY_STRING, /* typeof data = char* */ - CONFIG_KEY_BOOLEAN /* typeof data = int */ -}; - -struct config_key { - const char *name; - enum config_key_type type; - void *data; -}; - -struct config_section { - const char *name; - const struct config_key *keys; - int num_keys; - void (*done)(void *data); -}; - enum weston_option_type { WESTON_OPTION_INTEGER, WESTON_OPTION_UNSIGNED_INTEGER, @@ -121,10 +101,8 @@ int weston_config_next_section(struct weston_config *config, struct weston_config_section **section, const char **name); - #ifdef __cplusplus } #endif #endif /* CONFIGPARSER_H */ -