diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-14 09:21:39 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-08-14 09:21:39 +0100 |
commit | 807d8048a2e07509b79ebc20826f6ba115f6de2c (patch) | |
tree | 041f3596ad27d5ae902a35412177538527557813 /tools/libxc/xc_evtchn.c | |
parent | 2209d892f996e67d003ad248071e487507f7fc2f (diff) | |
download | xen-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.c | 7 |
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 = { |