libxlu: avoid having two definitions of XLU_ConfigList
PATCH 1/1 libxlu: avoid having two definitions of XLU_ConfigList
There is already a typedef in libxlutil.h. Remove the one in libxlu_internal.h.
Signed-off-by Wei Liu <[email protected]>
--- tools/libxl/libxlu_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
tools/libxl/libxlu_internal.h +2 -2
@@ -25,11 +25,11 @@#include "libxlutil.h" -typedef struct XLU_ConfigList { +struct XLU_ConfigList {int avalues;/* available slots */ int nvalues;/* actual occupied slots */ XLU_ConfigValue **values; -}XLU_ConfigList ; +}; typedef struct YYLTYPE {
Signature · 1 line
1.9.1
Quoted 4 lines · Wei Liu
There is already a typedef in
libxlutil.h. Remove the one inlibxlu_internal.h.Signed-off-by Wei Liu <[email protected]>
Missing the 'Reported-by: Konrad Rzeszutek Wilk <[email protected]>'
Quoted 25 lines
--- tools/libxl/libxlu_internal.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)tools/libxl/libxlu_internal.h +2
-2@@ -25,11 +25,11 @@#include "libxlutil.h" -typedef struct XLU_ConfigList { +struct XLU_ConfigList {int avalues;/* available slots */ int nvalues;/* actual occupied slots */ XLU_ConfigValue **values; -}XLU_ConfigList ; +}; typedef struct YYLTYPE {Signature · 1 line
1.9.1
Quoted 7 lines · Konrad Rzeszutek Wilk
Quoted 4 lines · Wei Liu
There is already a typedef in
libxlutil.h. Remove the one inlibxlu_internal.h.Signed-off-by Wei Liu <[email protected]>Missing the 'Reported-by: Konrad Rzeszutek Wilk <[email protected]>'
I added this and acked + applied the patch.
Ian, who is surprised newer gcc is more lenient on this matter...