summaryrefslogtreecommitdiffstats
path: root/lib/libbluetooth
diff options
context:
space:
mode:
authoremax <emax@FreeBSD.org>2009-10-26 17:27:30 +0000
committeremax <emax@FreeBSD.org>2009-10-26 17:27:30 +0000
commit43278f5e56e64167a5719f86542c408b7eddf62e (patch)
tree4434f8a933a50818dd9e9e6aee3a73962e4836d7 /lib/libbluetooth
parenta593969284aa70449e35a97727d9e229eb7601b3 (diff)
downloadFreeBSD-src-43278f5e56e64167a5719f86542c408b7eddf62e.zip
FreeBSD-src-43278f5e56e64167a5719f86542c408b7eddf62e.tar.gz
Fix typo in bluetooth.3
Do not use reserved C++ keyword "new" MFC after: 1 month
Diffstat (limited to 'lib/libbluetooth')
-rw-r--r--lib/libbluetooth/bluetooth.32
-rw-r--r--lib/libbluetooth/bluetooth.h4
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);
OpenPOWER on IntegriCloud