aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksim Yevmenkin <emax@FreeBSD.org>2009-10-26 17:27:30 +0000
committerMaksim Yevmenkin <emax@FreeBSD.org>2009-10-26 17:27:30 +0000
commit808de0ae26bcb3b90cac6676d63f18906284711d (patch)
tree4434f8a933a50818dd9e9e6aee3a73962e4836d7
parentbdb403798c3bc94e5afc271ea6d80d681d768107 (diff)
downloadsrc-808de0ae26bcb3b90cac6676d63f18906284711d.tar.gz
src-808de0ae26bcb3b90cac6676d63f18906284711d.zip
Fix typo in bluetooth.3
Do not use reserved C++ keyword "new" MFC after: 1 month
Notes
Notes: svn path=/head/; revision=198492
-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 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);