summaryrefslogtreecommitdiff
path: root/xen
diff options
context:
space:
mode:
authorJustus Winter <justus@gnupg.org>2016-05-20 00:31:44 +0200
committerJustus Winter <justus@gnupg.org>2016-05-20 00:31:44 +0200
commit23bda7b9566982d304ff7d51fa1c1ab8da41c99b (patch)
treec1adb78bd654312d382d3f145456521ad272ced7 /xen
parentcf97add8f0b5cfcded48d6d0dead7d88800bafb0 (diff)
xen: fix prototype
Amends a7f248bf. * xen/console.h (hypcnclose): Fix type of parameter.
Diffstat (limited to 'xen')
-rw-r--r--xen/console.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/console.h b/xen/console.h
index c129bd4a..cd5fd5fc 100644
--- a/xen/console.h
+++ b/xen/console.h
@@ -42,7 +42,7 @@ extern int hypcninit(struct consdev *cp);
extern int hypcnopen(dev_t dev, int flag, io_req_t ior);
extern int hypcnread(dev_t dev, io_req_t ior);
extern int hypcnwrite(dev_t dev, io_req_t ior);
-extern void hypcnclose(int dev, int flag);
+extern void hypcnclose(dev_t dev, int flag);
extern io_return_t hypcngetstat(dev_t dev, int flavor, int *data, unsigned int *count);
extern io_return_t hypcnsetstat(dev_t dev, int flavor, int *data, unsigned int count);
extern int hypcnportdeath(dev_t dev, mach_port_t port);