diff options
| author | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2010-08-17 17:20:53 +0100 |
|---|---|---|
| committer | Ian Jackson <Ian.Jackson@eu.citrix.com> | 2010-08-17 17:20:53 +0100 |
| commit | 8188bc8a37e790fd2f051c2714c2a628d10c1c5e (patch) | |
| tree | 18399ac2156175711a996e81ceebca4e16322533 /tools/vnet/libxutil/sys_string.c | |
| parent | d83eb7f21e37956c1674481b56f0c9181d493304 (diff) | |
| download | xen-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/vnet/libxutil/sys_string.c')
0 files changed, 0 insertions, 0 deletions
