diff options
author | emax <emax@FreeBSD.org> | 2010-01-26 00:38:56 +0000 |
---|---|---|
committer | emax <emax@FreeBSD.org> | 2010-01-26 00:38:56 +0000 |
commit | 430383e8e29efa3f53ea43b953bfbbce6afd1334 (patch) | |
tree | 840d41371b2e469a8e4a7f79dfc4d0f8a6910d6e /lib | |
parent | 49b8885bd285000a269267cb7cfd07729b2ab386 (diff) | |
download | FreeBSD-src-430383e8e29efa3f53ea43b953bfbbce6afd1334.zip FreeBSD-src-430383e8e29efa3f53ea43b953bfbbce6afd1334.tar.gz |
MFC SVN rev 198492
Fix typo in bluetooth.3
Do not use reserved C++ keyword "new"
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libbluetooth/bluetooth.3 | 2 | ||||
-rw-r--r-- | 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 c4eab90..40ea20c 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 5ad3c3c..a73dbe9 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); |