diff options
-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; |