summaryrefslogtreecommitdiff
path: root/profiles/deviceinfo
diff options
context:
space:
mode:
authorAnderson Lizardo <anderson.lizardo@openbossa.org>2014-01-11 00:47:17 -0400
committerJohan Hedberg <johan.hedberg@intel.com>2014-01-11 18:56:03 +0200
commit2704b4c83bad1445ab237cad5de204d7166ae616 (patch)
treec319d97ce2990f248d81d54eb58928f168edd68c /profiles/deviceinfo
parentd45c6df38652385c8ff5a9318a5eedfbefc64cf1 (diff)
downloadbluez-2704b4c83bad1445ab237cad5de204d7166ae616.tar.gz
attrib: Modify gatt_cb_t signature
Use standard C types instead of GLib ones (which are unnecessary here) and move the "status" parameter to the first position, so it is consistent with other callbacks.
Diffstat (limited to 'profiles/deviceinfo')
-rw-r--r--profiles/deviceinfo/deviceinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c
index 8343bb5dc..bfecfc2b1 100644
--- a/profiles/deviceinfo/deviceinfo.c
+++ b/profiles/deviceinfo/deviceinfo.c
@@ -107,8 +107,8 @@ static void process_deviceinfo_char(struct characteristic *ch)
read_pnpid_cb, ch);
}
-static void configure_deviceinfo_cb(GSList *characteristics, guint8 status,
- gpointer user_data)
+static void configure_deviceinfo_cb(uint8_t status, GSList *characteristics,
+ void *user_data)
{
struct deviceinfo *d = user_data;
GSList *l;