diff options
author | Lucas De Marchi <lucas.de.marchi@gmail.com> | 2013-05-01 02:28:01 -0300 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@intel.com> | 2013-05-01 09:08:57 +0300 |
commit | 20bacbd7354c3a21a9f8fd73f6b84ce4b1e11b5d (patch) | |
tree | c085bf2aa471d79958c689d178a5f8c65ff58a00 /profiles/deviceinfo | |
parent | ca87bc12aa33740e79af49c18bdfcf32b9870a71 (diff) | |
download | bluez-20bacbd7354c3a21a9f8fd73f6b84ce4b1e11b5d.tar.gz |
deviceinfo: Get rid of gint
Use plain int instead of gint. In glib gint is always a typedef to int,
so it's safe to use it even for callbacks with glib.
Diffstat (limited to 'profiles/deviceinfo')
-rw-r--r-- | profiles/deviceinfo/deviceinfo.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/profiles/deviceinfo/deviceinfo.c b/profiles/deviceinfo/deviceinfo.c index fc8babd44..e8cb5f748 100644 --- a/profiles/deviceinfo/deviceinfo.c +++ b/profiles/deviceinfo/deviceinfo.c @@ -75,7 +75,7 @@ static void deviceinfo_free(gpointer user_data) g_free(d); } -static gint cmp_device(gconstpointer a, gconstpointer b) +static int cmp_device(gconstpointer a, gconstpointer b) { const struct deviceinfo *d = a; const struct btd_device *dev = b; |