diff options
author | takawata <takawata@FreeBSD.org> | 2015-04-07 16:48:23 +0000 |
---|---|---|
committer | takawata <takawata@FreeBSD.org> | 2015-04-07 16:48:23 +0000 |
commit | 411a5fdbb3dd161f7c93dafe3156177d62209a1c (patch) | |
tree | 3407105e73d99b25919959b8ea59bc192c2c9f36 /usr.sbin/bluetooth/hccontrol | |
parent | 739c57d8c2732c511b7fd032852bd9c98731775a (diff) | |
download | FreeBSD-src-411a5fdbb3dd161f7c93dafe3156177d62209a1c.zip FreeBSD-src-411a5fdbb3dd161f7c93dafe3156177d62209a1c.tar.gz |
Check l2cap socket initialisation and define L2CAP_SOCKET_CHECKED
This will fix build.
Diffstat (limited to 'usr.sbin/bluetooth/hccontrol')
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/hccontrol.c | 1 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/host_controller_baseband.c | 1 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/info.c | 1 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/link_control.c | 1 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/link_policy.c | 1 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/node.c | 1 | ||||
-rw-r--r-- | usr.sbin/bluetooth/hccontrol/util.c | 1 |
7 files changed, 7 insertions, 0 deletions
diff --git a/usr.sbin/bluetooth/hccontrol/hccontrol.c b/usr.sbin/bluetooth/hccontrol/hccontrol.c index 089869b..9c60ae8 100644 --- a/usr.sbin/bluetooth/hccontrol/hccontrol.c +++ b/usr.sbin/bluetooth/hccontrol/hccontrol.c @@ -29,6 +29,7 @@ * $FreeBSD$ */ +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <sys/ioctl.h> #include <sys/sysctl.h> diff --git a/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c b/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c index aae5dd1..213b017 100644 --- a/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c +++ b/usr.sbin/bluetooth/hccontrol/host_controller_baseband.c @@ -29,6 +29,7 @@ * $FreeBSD$ */ +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <errno.h> #include <stdio.h> diff --git a/usr.sbin/bluetooth/hccontrol/info.c b/usr.sbin/bluetooth/hccontrol/info.c index d7bad36..ee9d1a1 100644 --- a/usr.sbin/bluetooth/hccontrol/info.c +++ b/usr.sbin/bluetooth/hccontrol/info.c @@ -29,6 +29,7 @@ * $FreeBSD$ */ +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <errno.h> #include <stdio.h> diff --git a/usr.sbin/bluetooth/hccontrol/link_control.c b/usr.sbin/bluetooth/hccontrol/link_control.c index 536520a..a55426c 100644 --- a/usr.sbin/bluetooth/hccontrol/link_control.c +++ b/usr.sbin/bluetooth/hccontrol/link_control.c @@ -29,6 +29,7 @@ * $FreeBSD$ */ +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <errno.h> #include <stdio.h> diff --git a/usr.sbin/bluetooth/hccontrol/link_policy.c b/usr.sbin/bluetooth/hccontrol/link_policy.c index 67b32d5..8142b23 100644 --- a/usr.sbin/bluetooth/hccontrol/link_policy.c +++ b/usr.sbin/bluetooth/hccontrol/link_policy.c @@ -29,6 +29,7 @@ * $FreeBSD$ */ +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <errno.h> #include <stdio.h> diff --git a/usr.sbin/bluetooth/hccontrol/node.c b/usr.sbin/bluetooth/hccontrol/node.c index ede2153..fb6fd19 100644 --- a/usr.sbin/bluetooth/hccontrol/node.c +++ b/usr.sbin/bluetooth/hccontrol/node.c @@ -30,6 +30,7 @@ */ #include <sys/ioctl.h> +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <errno.h> #include <netgraph/ng_message.h> diff --git a/usr.sbin/bluetooth/hccontrol/util.c b/usr.sbin/bluetooth/hccontrol/util.c index 4bb5000..13e8cb0 100644 --- a/usr.sbin/bluetooth/hccontrol/util.c +++ b/usr.sbin/bluetooth/hccontrol/util.c @@ -30,6 +30,7 @@ */ #include <sys/param.h> +#define L2CAP_SOCKET_CHECKED #include <bluetooth.h> #include <stdio.h> #include <string.h> |