diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-08-30 14:29:34 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-08-30 14:29:34 -0500 |
commit | 4292b2dbeda6bf31115abb8e5f9839d61e0a1272 (patch) | |
tree | 915ea684afc6c8594199d7c2e4b20e3abaa6617d /include/sim.h | |
parent | b74c9fb0c60c66ed41e8b17a093b90814c95a91f (diff) | |
download | ofono-4292b2dbeda6bf31115abb8e5f9839d61e0a1272.tar.bz2 |
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.
Diffstat (limited to 'include/sim.h')
-rw-r--r-- | include/sim.h | 8 |
1 files changed, 4 insertions, 4 deletions
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); |