aboutsummaryrefslogtreecommitdiffstats
path: root/tools/libxc/xc_evtchn.c
diff options
context:
space:
mode:
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-14 09:21:39 +0100
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>2007-08-14 09:21:39 +0100
commit807d8048a2e07509b79ebc20826f6ba115f6de2c (patch)
tree041f3596ad27d5ae902a35412177538527557813 /tools/libxc/xc_evtchn.c
parent2209d892f996e67d003ad248071e487507f7fc2f (diff)
downloadxen-807d8048a2e07509b79ebc20826f6ba115f6de2c.tar.gz
xen-807d8048a2e07509b79ebc20826f6ba115f6de2c.tar.bz2
xen-807d8048a2e07509b79ebc20826f6ba115f6de2c.zip
libxc: Various xc_evtchn_* functions must return signed integer type.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'tools/libxc/xc_evtchn.c')
-rw-r--r--tools/libxc/xc_evtchn.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/tools/libxc/xc_evtchn.c b/tools/libxc/xc_evtchn.c
index c0f3b9b54c..0992a7bdbb 100644
--- a/tools/libxc/xc_evtchn.c
+++ b/tools/libxc/xc_evtchn.c
@@ -33,9 +33,10 @@ static int do_evtchn_op(int xc_handle, int cmd, void *arg, size_t arg_size)
}
-int xc_evtchn_alloc_unbound(int xc_handle,
- uint32_t dom,
- uint32_t remote_dom)
+evtchn_port_or_error_t
+xc_evtchn_alloc_unbound(int xc_handle,
+ uint32_t dom,
+ uint32_t remote_dom)
{
int rc;
struct evtchn_alloc_unbound arg = {