aboutsummaryrefslogtreecommitdiffstats
path: root/tools/xentrace/xentrace.c
diff options
context:
space:
mode:
authorkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-10 17:32:04 +0100
committerkaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk>2006-03-10 17:32:04 +0100
commit945758df892447c3c0cf9c6ba4cd6b2cc83da42b (patch)
tree8072d5ac3c907f5d617574fd9a7d75883bfe31b3 /tools/xentrace/xentrace.c
parent27d7304ed79a09ab0fbf14269154a4a46a20e170 (diff)
downloadxen-945758df892447c3c0cf9c6ba4cd6b2cc83da42b.tar.gz
xen-945758df892447c3c0cf9c6ba4cd6b2cc83da42b.tar.bz2
xen-945758df892447c3c0cf9c6ba4cd6b2cc83da42b.zip
More build config changes:
- Build -O2 rather than -O3 - Build with -Wstrict-prototypes - Move target-specific generic compiler switches to Config.mk Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/xentrace/xentrace.c')
-rw-r--r--tools/xentrace/xentrace.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/xentrace/xentrace.c b/tools/xentrace/xentrace.c
index 2780e1dbb2..34b2a6a649 100644
--- a/tools/xentrace/xentrace.c
+++ b/tools/xentrace/xentrace.c
@@ -258,7 +258,7 @@ struct t_rec **init_rec_ptrs(struct t_buf **meta, unsigned int num)
/**
* get_num_cpus - get the number of logical CPUs
*/
-unsigned int get_num_cpus()
+unsigned int get_num_cpus(void)
{
dom0_op_t op;
int xc_handle = xc_interface_open();