summaryrefslogtreecommitdiff
path: root/src/service.c
diff options
context:
space:
mode:
authorLucas De Marchi <lucas.de.marchi@gmail.com>2013-05-01 02:28:08 -0300
committerJohan Hedberg <johan.hedberg@intel.com>2013-05-01 09:08:57 +0300
commit78a51a09f05bb96c8ef77afee6c45c904d5df337 (patch)
tree6417f27a47b0bcbf3df118f668d1152cce710729 /src/service.c
parentde7e3aaa90008388ecb49b0079085911cc81414f (diff)
downloadbluez-78a51a09f05bb96c8ef77afee6c45c904d5df337.tar.gz
core: 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 'src/service.c')
-rw-r--r--src/service.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/service.c b/src/service.c
index 98fcbfeb3..aef950260 100644
--- a/src/service.c
+++ b/src/service.c
@@ -47,7 +47,7 @@
#include "service.h"
struct btd_service {
- gint ref;
+ int ref;
struct btd_device *device;
struct btd_profile *profile;
void *user_data;