OSDN Git Service

scanparam: Get rid of gint
authorLucas De Marchi <lucas.de.marchi@gmail.com>
Wed, 1 May 2013 05:28:06 +0000 (02:28 -0300)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 1 May 2013 06:08:57 +0000 (09:08 +0300)
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.

profiles/scanparam/scan.c

index dbbb4ea..a9baec8 100644 (file)
@@ -66,7 +66,7 @@ struct scan {
 
 static GSList *servers = NULL;
 
-static gint scan_device_cmp(gconstpointer a, gconstpointer b)
+static int scan_device_cmp(gconstpointer a, gconstpointer b)
 {
        const struct scan *scan = a;
        const struct btd_device *device = b;