[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 12/22] tools/utils: remove YYLTYPE definition from libxlu_internal.h



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@xxxxxxx>
---
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(-)

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 {
-- 
(\___(\___(\______          --=> 8-) EHM <=--          ______/)___/)___/)
 \BS (    |       ehem+sigmsg@xxxxxxx      PGP 87145445       |    )   /
  \_CS\   |  _____  -O #include <stddisclaimer.h> O-   _____  |   /  _/
8A19\___\_|_/58D2 7E3D DDF4 7BA6 <-PGP-> 41D1 B375 37D0 8714\_|_/___/5445






 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.