summaryrefslogtreecommitdiff
path: root/plugins/wiimote.c
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2013-05-21 09:06:44 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2013-06-13 17:24:20 +0300
commit83ecd743a970c44c34a676da7392a9b1ea954e2f (patch)
tree0bbde24305e38d4bea683831b884d1f1b7580bb5 /plugins/wiimote.c
parent0743aa5a6f66e51df71e9579202915e09bfa19c4 (diff)
downloadbluez-83ecd743a970c44c34a676da7392a9b1ea954e2f.tar.gz
core: Avoid unnecessary gboolean on pincode callback API
Use standard "bool" type instead. Callers in plugins/* are fixed on the same commit to avoid compilation errors.
Diffstat (limited to 'plugins/wiimote.c')
-rw-r--r--plugins/wiimote.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/wiimote.c b/plugins/wiimote.c
index 12312b608..beda3071c 100644
--- a/plugins/wiimote.c
+++ b/plugins/wiimote.c
@@ -70,7 +70,8 @@ static const char *wii_names[] = {
};
static ssize_t wii_pincb(struct btd_adapter *adapter, struct btd_device *device,
- char *pinbuf, gboolean *display, unsigned int attempt)
+ char *pinbuf, bool *display,
+ unsigned int attempt)
{
uint16_t vendor, product;
char addr[18], name[25];