From 38cd0240f4c21812842f8dc4fdea3ca24f5ad14f Mon Sep 17 00:00:00 2001 From: Maksim Yevmenkin Date: Tue, 26 Jan 2010 00:38:56 +0000 Subject: [PATCH] MFC SVN rev 198492 Fix typo in bluetooth.3 Do not use reserved C++ keyword "new" --- lib/libbluetooth/bluetooth.3 | 2 +- lib/libbluetooth/bluetooth.h | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/libbluetooth/bluetooth.3 b/lib/libbluetooth/bluetooth.3 index c4eab90fbaa3..40ea20c45c58 100644 --- a/lib/libbluetooth/bluetooth.3 +++ b/lib/libbluetooth/bluetooth.3 @@ -272,7 +272,7 @@ otherwise 0. .Pp The .Fn bt_devinfo -function populates prodivded +function populates provided .Vt bt_devinfo structure with the information about given Bluetooth device. The caller is expected to pass Bluetooth device name in the diff --git a/lib/libbluetooth/bluetooth.h b/lib/libbluetooth/bluetooth.h index 5ad3c3c553b0..a73dbe915bc1 100644 --- a/lib/libbluetooth/bluetooth.h +++ b/lib/libbluetooth/bluetooth.h @@ -163,8 +163,8 @@ int bt_devclose(int s); int bt_devsend (int s, uint16_t opcode, void *param, size_t plen); ssize_t bt_devrecv (int s, void *buf, size_t size, time_t to); int bt_devreq (int s, struct bt_devreq *r, time_t to); -int bt_devfilter(int s, struct bt_devfilter const *new, - struct bt_devfilter *old); +int bt_devfilter(int s, struct bt_devfilter const *newp, + struct bt_devfilter *oldp); void bt_devfilter_pkt_set(struct bt_devfilter *filter, uint8_t type); void bt_devfilter_pkt_clr(struct bt_devfilter *filter, uint8_t type); int bt_devfilter_pkt_tst(struct bt_devfilter const *filter, uint8_t type);