From 4292b2dbeda6bf31115abb8e5f9839d61e0a1272 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 30 Aug 2010 14:29:34 -0500 Subject: sim: Turn around the order of arguments The void *user argument was first. It should be last instead to be consistent with the other watch functions. --- include/sim.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'include/sim.h') diff --git a/include/sim.h b/include/sim.h index 36a99b93..5bd1dd33 100644 --- a/include/sim.h +++ b/include/sim.h @@ -94,8 +94,8 @@ typedef void (*ofono_sim_write_cb_t)(const struct ofono_error *error, typedef void (*ofono_sim_imsi_cb_t)(const struct ofono_error *error, const char *imsi, void *data); -typedef void (*ofono_sim_state_event_notify_cb_t)(void *data, - enum ofono_sim_state new_state); +typedef void (*ofono_sim_state_event_cb_t)(enum ofono_sim_state new_state, + void *data); typedef void (*ofono_sim_file_read_cb_t)(int ok, int total_length, int record, const unsigned char *data, @@ -178,8 +178,8 @@ enum ofono_sim_cphs_phase ofono_sim_get_cphs_phase(struct ofono_sim *sim); const unsigned char *ofono_sim_get_cphs_service_table(struct ofono_sim *sim); unsigned int ofono_sim_add_state_watch(struct ofono_sim *sim, - ofono_sim_state_event_notify_cb_t cb, - void *data, ofono_destroy_func destroy); + ofono_sim_state_event_cb_t cb, + void *data, ofono_destroy_func destroy); void ofono_sim_remove_state_watch(struct ofono_sim *sim, unsigned int id); -- cgit v1.2.3