svn commit: r198492 - head/lib/libbluetooth
Maksim Yevmenkin
emax at FreeBSD.org
Mon Oct 26 17:27:30 UTC 2009
Author: emax
Date: Mon Oct 26 17:27:30 2009
New Revision: 198492
URL: http://svn.freebsd.org/changeset/base/198492
Log:
Fix typo in bluetooth.3
Do not use reserved C++ keyword "new"
MFC after: 1 month
Modified:
head/lib/libbluetooth/bluetooth.3
head/lib/libbluetooth/bluetooth.h
Modified: head/lib/libbluetooth/bluetooth.3
==============================================================================
--- head/lib/libbluetooth/bluetooth.3 Mon Oct 26 14:57:33 2009 (r198491)
+++ head/lib/libbluetooth/bluetooth.3 Mon Oct 26 17:27:30 2009 (r198492)
@@ -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
Modified: head/lib/libbluetooth/bluetooth.h
==============================================================================
--- head/lib/libbluetooth/bluetooth.h Mon Oct 26 14:57:33 2009 (r198491)
+++ head/lib/libbluetooth/bluetooth.h Mon Oct 26 17:27:30 2009 (r198492)
@@ -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);
More information about the svn-src-all
mailing list