diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-11-22 18:44:08 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2005-11-22 18:44:08 +0100 |
commit | 869e86d8e6a9f2d3665f6467d25bacad624b8d1e (patch) | |
tree | 909327fd4c29d504badc1f9728e39e2c030ba84f /tools/libxc/xg_private.h | |
parent | 49e566a9aaec934a8a7a530826ded0c033044799 (diff) | |
download | xen-869e86d8e6a9f2d3665f6467d25bacad624b8d1e.tar.gz xen-869e86d8e6a9f2d3665f6467d25bacad624b8d1e.tar.bz2 xen-869e86d8e6a9f2d3665f6467d25bacad624b8d1e.zip |
Add -Wdeclaration-after-statement to Xen and tools build.
Fix the compile errors that result from this.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xg_private.h')
-rw-r--r-- | tools/libxc/xg_private.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/libxc/xg_private.h b/tools/libxc/xg_private.h index a2dac8b0f3..f96c187d95 100644 --- a/tools/libxc/xg_private.h +++ b/tools/libxc/xg_private.h @@ -20,7 +20,7 @@ reason, we must zero the dom0_op_t instance before a call, if using valgrind. */ #ifdef VALGRIND -#define DECLARE_DOM0_OP dom0_op_t op; memset(&op, 0, sizeof(op)) +#define DECLARE_DOM0_OP dom0_op_t op = { 0 } #else #define DECLARE_DOM0_OP dom0_op_t op #endif |