diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-10 17:32:04 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-03-10 17:32:04 +0100 |
commit | 945758df892447c3c0cf9c6ba4cd6b2cc83da42b (patch) | |
tree | 8072d5ac3c907f5d617574fd9a7d75883bfe31b3 /tools/xenmon | |
parent | 27d7304ed79a09ab0fbf14269154a4a46a20e170 (diff) | |
download | xen-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/xenmon')
-rw-r--r-- | tools/xenmon/xenbaked.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/xenmon/xenbaked.c b/tools/xenmon/xenbaked.c index 1289e47425..a7cd4be2d0 100644 --- a/tools/xenmon/xenbaked.c +++ b/tools/xenmon/xenbaked.c @@ -379,7 +379,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(); @@ -409,7 +409,7 @@ unsigned int get_num_cpus() /** * monitor_tbufs - monitor the contents of tbufs */ -int monitor_tbufs() +int monitor_tbufs(void) { int i; extern void process_record(int, struct t_rec *); |