aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxl/libxlu_cfg_l.h
diff options
context:
space:
mode:
authorIan Jackson <Ian.Jackson@eu.citrix.com>2010-08-17 17:20:53 +0100
committerIan Jackson <Ian.Jackson@eu.citrix.com>2010-08-17 17:20:53 +0100
commit8188bc8a37e790fd2f051c2714c2a628d10c1c5e (patch)
tree18399ac2156175711a996e81ceebca4e16322533 /tools/libxl/libxlu_cfg_l.h
parentd83eb7f21e37956c1674481b56f0c9181d493304 (diff)
downloadxen-8188bc8a37e790fd2f051c2714c2a628d10c1c5e.tar.gz
xen-8188bc8a37e790fd2f051c2714c2a628d10c1c5e.tar.bz2
xen-8188bc8a37e790fd2f051c2714c2a628d10c1c5e.zip
tools/libxl: compile with -Wmissing-declarations
Since the recent build error caused by mismatch of symbol types due to missing declarations, build libxl with -Wmissing-declarations. The patch is mostly straightforward, a one liner in the makefile enables the flag, a lot of functions in xl_cmdimpl.c needed to be made static and libxl_paths.c needed to include libxl.h. The one wart on the patch-set is that flex has a bug where it emits code with missing declarations for yy(set|get)_column. This can be worked around by providing the declarations ourselves regardless. Signed-off-by: Gianni Tedesco <gianni.tedesco@citrix.com> Signed-off-by: Ian Jackson <ian.jackson@eu.citrix.com>
Diffstat (limited to 'tools/libxl/libxlu_cfg_l.h')
-rw-r--r--tools/libxl/libxlu_cfg_l.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxl/libxlu_cfg_l.h b/tools/libxl/libxlu_cfg_l.h
index 5f78395eae..26f6dd63d1 100644
--- a/tools/libxl/libxlu_cfg_l.h
+++ b/tools/libxl/libxlu_cfg_l.h
@@ -350,7 +350,7 @@ extern int xlu__cfg_yylex \
#undef YY_DECL
#endif
-#line 75 "libxlu_cfg_l.l"
+#line 82 "libxlu_cfg_l.l"
#line 356 "libxlu_cfg_l.h"
#undef xlu__cfg_yyIN_HEADER