Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/netbt const lookup argument
details: https://anonhg.NetBSD.org/src/rev/41a01dd51b46
branches: trunk
changeset: 769658:41a01dd51b46
user: plunky <plunky%NetBSD.org@localhost>
date: Sat Sep 17 08:23:36 2011 +0000
description:
const lookup argument
diffstat:
sys/netbt/hci.h | 6 +++---
sys/netbt/hci_unit.c | 6 +++---
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (54 lines):
diff -r d3dec64bc5bf -r 41a01dd51b46 sys/netbt/hci.h
--- a/sys/netbt/hci.h Sat Sep 17 08:15:43 2011 +0000
+++ b/sys/netbt/hci.h Sat Sep 17 08:23:36 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hci.h,v 1.34 2010/11/22 19:56:51 plunky Exp $ */
+/* $NetBSD: hci.h,v 1.35 2011/09/17 08:23:36 plunky Exp $ */
/*-
* Copyright (c) 2005 Iain Hibbert.
@@ -54,7 +54,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: hci.h,v 1.34 2010/11/22 19:56:51 plunky Exp $
+ * $Id: hci.h,v 1.35 2011/09/17 08:23:36 plunky Exp $
* $FreeBSD: src/sys/netgraph/bluetooth/include/ng_hci.h,v 1.6 2005/01/07 01:45:43 imp Exp $
*/
@@ -2576,7 +2576,7 @@
void hci_detach(struct hci_unit *);
int hci_enable(struct hci_unit *);
void hci_disable(struct hci_unit *);
-struct hci_unit *hci_unit_lookup(bdaddr_t *);
+struct hci_unit *hci_unit_lookup(const bdaddr_t *);
int hci_send_cmd(struct hci_unit *, uint16_t, void *, uint8_t);
void hci_num_cmds(struct hci_unit *, uint8_t);
bool hci_input_event(struct hci_unit *, struct mbuf *);
diff -r d3dec64bc5bf -r 41a01dd51b46 sys/netbt/hci_unit.c
--- a/sys/netbt/hci_unit.c Sat Sep 17 08:15:43 2011 +0000
+++ b/sys/netbt/hci_unit.c Sat Sep 17 08:23:36 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: hci_unit.c,v 1.12 2008/06/26 14:17:27 plunky Exp $ */
+/* $NetBSD: hci_unit.c,v 1.13 2011/09/17 08:23:37 plunky Exp $ */
/*-
* Copyright (c) 2005 Iain Hibbert.
@@ -31,7 +31,7 @@
*/
#include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: hci_unit.c,v 1.12 2008/06/26 14:17:27 plunky Exp $");
+__KERNEL_RCSID(0, "$NetBSD: hci_unit.c,v 1.13 2011/09/17 08:23:37 plunky Exp $");
#include <sys/param.h>
#include <sys/conf.h>
@@ -266,7 +266,7 @@
}
struct hci_unit *
-hci_unit_lookup(bdaddr_t *addr)
+hci_unit_lookup(const bdaddr_t *addr)
{
struct hci_unit *unit;
Home |
Main Index |
Thread Index |
Old Index