Message ID | ab3e13091009dc781bda87582cc119354a7cd1ec.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_internal.h b/tools/libs/util/libxlu_internal.h index 1a9d25e14e..c68669c3a1 100644 --- a/tools/libs/util/libxlu_internal.h +++ b/tools/libs/util/libxlu_internal.h @@ -31,15 +31,6 @@ struct XLU_ConfigList { XLU_ConfigValue **values; }; -typedef struct XLU__CFG_YYLTYPE -{ - int first_line; - int first_column; - int last_line; - int last_column; -} XLU__CFG_YYLTYPE; -#define XLU__CFG_YYLTYPE_IS_DECLARED - typedef struct XLU_ConfigSetting XLU_ConfigSetting; struct XLU_Config {
The definition was needed due to XLU_ConfigValue being before Bison's declaration of YYLTYPE. Since XLU_ConfigValue has moved to libxlu_cfg.c, the duplication is now unnecessary. Fixes: 1a09c5113a, 6ec86e91c8 ("libxlu: record location when parsing values") Signed-off-by: Elliott Mitchell <ehem+xen@m5p.com> --- Had @1a09c5113a placed the structure definition in libxlu_cfg_i.h, there never would have been a need to override YYLTYPE. --- tools/libs/util/libxlu_internal.h | 9 --------- 1 file changed, 9 deletions(-)