diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2012-06-16 20:08:10 -0700 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2012-06-16 20:08:10 -0700 |
commit | 10297b153a94e335beed13b9a9350ec99730da0b (patch) | |
tree | ad463bb87c2447f1277eedf1cb99ea1caa81bee1 | |
parent | d51c05cef39970539a3e71017a264a64b48cf511 (diff) | |
download | ofono-10297b153a94e335beed13b9a9350ec99730da0b.tar.bz2 |
sim: Use ofono_bool_t instead of gboolean
-rw-r--r-- | include/sim.h | 4 | ||||
-rw-r--r-- | src/sim.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/include/sim.h b/include/sim.h index 605164ed..508ff249 100644 --- a/include/sim.h +++ b/include/sim.h @@ -199,11 +199,11 @@ enum ofono_sim_state ofono_sim_get_state(struct ofono_sim *sim); typedef void (*ofono_sim_spn_cb_t)(const char *spn, const char *dc, void *data); -gboolean ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id, +ofono_bool_t ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id, ofono_sim_spn_cb_t cb, void *data, ofono_destroy_func destroy); -gboolean ofono_sim_remove_spn_watch(struct ofono_sim *sim, unsigned int *id); +ofono_bool_t ofono_sim_remove_spn_watch(struct ofono_sim *sim, unsigned int *id); void ofono_sim_inserted_notify(struct ofono_sim *sim, ofono_bool_t inserted); @@ -2572,7 +2572,7 @@ static void sim_spn_close(struct ofono_sim *sim) sim->spn_dc = NULL; } -gboolean ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id, +ofono_bool_t ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id, ofono_sim_spn_cb_t cb, void *data, ofono_destroy_func destroy) { @@ -2610,7 +2610,7 @@ gboolean ofono_sim_add_spn_watch(struct ofono_sim *sim, unsigned int *id, return TRUE; } -gboolean ofono_sim_remove_spn_watch(struct ofono_sim *sim, unsigned int *id) +ofono_bool_t ofono_sim_remove_spn_watch(struct ofono_sim *sim, unsigned int *id) { gboolean ret; |