OSDN Git Service
(root)
/
android-x86
/
external-bluetooth-bluez.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f81021d
)
scanparam: Get rid of gint
author
Lucas De Marchi
<lucas.de.marchi@gmail.com>
Wed, 1 May 2013 05:28:06 +0000
(
02:28
-0300)
committer
Johan 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
patch
|
blob
|
history
diff --git
a/profiles/scanparam/scan.c
b/profiles/scanparam/scan.c
index
dbbb4ea
..
a9baec8
100644
(file)
--- a/
profiles/scanparam/scan.c
+++ b/
profiles/scanparam/scan.c
@@
-66,7
+66,7
@@
struct scan {
static GSList *servers = NULL;
-static
g
int 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;