Message ID | de7fedb2b94476563d9c7657c9cba70b82767027.1690990428.git.ehem+xen@m5p.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show |
Series | Cleanup and splitting of xl.cfg parsing | expand |
diff --git a/tools/libs/util/libxlu_cfg.c b/tools/libs/util/libxlu_cfg.c index d3b5c86ed6..67d1a8123f 100644 --- a/tools/libs/util/libxlu_cfg.c +++ b/tools/libs/util/libxlu_cfg.c @@ -31,6 +31,12 @@ struct XLU_ConfigSetting { int lineno; }; +struct XLU_ConfigList { + int avalues; /* available slots */ + int nvalues; /* actual occupied slots */ + XLU_ConfigValue **values; +}; + struct XLU_ConfigValue { enum XLU_ConfigValueType type; union { diff --git a/tools/libs/util/libxlu_internal.h b/tools/libs/util/libxlu_internal.h index c68669c3a1..310e2145a7 100644 --- a/tools/libs/util/libxlu_internal.h +++ b/tools/libs/util/libxlu_internal.h @@ -25,12 +25,6 @@ #include "libxlutil.h" -struct XLU_ConfigList { - int avalues; /* available slots */ - int nvalues; /* actual occupied slots */ - XLU_ConfigValue **values; -}; - typedef struct XLU_ConfigSetting XLU_ConfigSetting; struct XLU_Config {
With XLU_ConfigValue now in libxlu_cfg.c, XLU_ConfigList can follow. Fixes: 1a09c5113a ("libxlu: rework internal representation of setting") Signed-off-by: Elliott Mitchell <ehem+xen@m5p.com> --- Placing XLU_ConfigValue/XLU_ConfigList in libxlu_internal.h was certainly *wrong*. --- tools/libs/util/libxlu_cfg.c | 6 ++++++ tools/libs/util/libxlu_internal.h | 6 ------ 2 files changed, 6 insertions(+), 6 deletions(-)