@@ -31,6 +31,15 @@ struct XLU_ConfigSetting {
int lineno;
};
+struct XLU_ConfigValue {
+ enum XLU_ConfigValueType type;
+ union {
+ char *string;
+ XLU_ConfigList list;
+ } u;
+ XLU__CFG_YYLTYPE loc;
+};
+
XLU_Config *xlu_cfg_init(FILE *report, const char *report_source) {
XLU_Config *cfg;
@@ -40,15 +40,6 @@ typedef struct XLU__CFG_YYLTYPE
} XLU__CFG_YYLTYPE;
#define XLU__CFG_YYLTYPE_IS_DECLARED
-struct XLU_ConfigValue {
- enum XLU_ConfigValueType type;
- union {
- char *string;
- XLU_ConfigList list;
- } u;
- XLU__CFG_YYLTYPE loc;
-};
-
typedef struct XLU_ConfigSetting XLU_ConfigSetting;
struct XLU_Config {
At no point was the complete type for XLU_ConfigValue used anywhere besides libxlu_cfg.c, overdue for a move. Fixes: 1a09c5113a ("libxlu: rework internal representation of setting") Signed-off-by: Elliott Mitchell <ehem+xen@m5p.com> --- tools/libs/util/libxlu_cfg.c | 9 +++++++++ tools/libs/util/libxlu_internal.h | 9 --------- 2 files changed, 9 insertions(+), 9 deletions(-)