diff options
author | Takanori Watanabe <takawata@FreeBSD.org> | 2015-04-07 16:48:23 +0000 |
---|---|---|
committer | Takanori Watanabe <takawata@FreeBSD.org> | 2015-04-07 16:48:23 +0000 |
commit | 8d6f425ddd8021ae2257ba9682f8844254ecdde1 (patch) | |
tree | 3407105e73d99b25919959b8ea59bc192c2c9f36 /usr.bin | |
parent | 212236608c8e01c8e4c65053539714d897e1482b (diff) | |
download | src-8d6f425ddd8021ae2257ba9682f8844254ecdde1.tar.gz src-8d6f425ddd8021ae2257ba9682f8844254ecdde1.zip |
Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED
This will fix build.
Notes
Notes:
svn path=/head/; revision=281210
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/bluetooth/bthost/bthost.c | 1 | ||||
-rw-r--r-- | usr.bin/bluetooth/btsockstat/btsockstat.c | 1 | ||||
-rw-r--r-- | usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c | 2 | ||||
-rw-r--r-- | usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c | 1 |
4 files changed, 4 insertions, 1 deletions
diff --git a/usr.bin/bluetooth/bthost/bthost.c b/usr.bin/bluetooth/bthost/bthost.c index 2dd56359fbaf..69ce3f57f018 100644 --- a/usr.bin/bluetooth/bthost/bthost.c +++ b/usr.bin/bluetooth/bthost/bthost.c @@ -29,6 +29,7 @@ * $FreeBSD$ */ +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <stdio.h> #include <stdlib.h> diff --git a/usr.bin/bluetooth/btsockstat/btsockstat.c b/usr.bin/bluetooth/btsockstat/btsockstat.c index a9c93542cfb8..aa85286ee9d1 100644 --- a/usr.bin/bluetooth/btsockstat/btsockstat.c +++ b/usr.bin/bluetooth/btsockstat/btsockstat.c @@ -39,6 +39,7 @@ #include <net/if.h> +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <err.h> #include <fcntl.h> diff --git a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c index 587307153333..239597dc755d 100644 --- a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c +++ b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sdp.c @@ -28,7 +28,7 @@ * $Id: rfcomm_sdp.c,v 1.1 2003/09/07 18:15:55 max Exp $ * $FreeBSD$ */ - +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <errno.h> #include <sdp.h> diff --git a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c index ab6e1a77e8c7..309bab93ac21 100644 --- a/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c +++ b/usr.bin/bluetooth/rfcomm_sppd/rfcomm_sppd.c @@ -33,6 +33,7 @@ #include <sys/stat.h> #include <sys/types.h> +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <ctype.h> #include <err.h> |