diff options
author | Paul Irofti <pirofti@cvs.openbsd.org> | 2013-12-15 14:32:39 +0000 |
---|---|---|
committer | Paul Irofti <pirofti@cvs.openbsd.org> | 2013-12-15 14:32:39 +0000 |
commit | 7bd30629573699527e1f4721a9242fbc4c3c402a (patch) | |
tree | 06be46f9264447c1e04fd75417002d080bebd50b /sys | |
parent | 1ed93f1a98b9c6e50a404434f1bc2221b457546f (diff) |
Fix bthub compilation by adding missing prototypes.
Report and patch from Rafael Neves, thanks!
Diffstat (limited to 'sys')
-rw-r--r-- | sys/dev/bluetooth/bthub.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/sys/dev/bluetooth/bthub.c b/sys/dev/bluetooth/bthub.c index 3527784c974..3780fff2382 100644 --- a/sys/dev/bluetooth/bthub.c +++ b/sys/dev/bluetooth/bthub.c @@ -1,4 +1,4 @@ -/* $OpenBSD: bthub.c,v 1.5 2010/08/29 15:12:28 jasper Exp $ */ +/* $OpenBSD: bthub.c,v 1.6 2013/12/15 14:32:38 pirofti Exp $ */ /* * Copyright (c) 2007 Uwe Stuehler <uwe@openbsd.org> @@ -40,6 +40,9 @@ void bthub_attach(struct device *, struct device *, void *); int bthub_detach(struct device *, int); int bthub_print(void *, const char *); int bthub_devioctl(dev_t, u_long, struct btdev_attach_args *); +int bthubopen(dev_t, int, int, struct proc *); +int bthubclose(dev_t, int, int, struct proc *); +int bthubioctl(dev_t, u_long, caddr_t, int, struct proc *); struct cfattach bthub_ca = { sizeof(struct bthub_softc), bthub_match, bthub_attach, bthub_detach |