diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-14 17:06:59 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-14 17:06:59 -0500 |
commit | e36c8b1d5d21412c4abacfd184850eaff80059e6 (patch) | |
tree | 3959669b3d64471e7c6ea36d6590a5bf649f48fc /src | |
parent | 3c6b6b908fef450d5464a3fee8b4336b9e1d83ae (diff) | |
download | ofono-e36c8b1d5d21412c4abacfd184850eaff80059e6.tar.bz2 |
Follow the more common glib convention for destroy
Diffstat (limited to 'src')
-rw-r--r-- | src/modem.c | 2 | ||||
-rw-r--r-- | src/ofono.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/modem.c b/src/modem.c index 90f8a727..44a81520 100644 --- a/src/modem.c +++ b/src/modem.c @@ -193,7 +193,7 @@ void __ofono_atom_unregister(struct ofono_atom *atom) int __ofono_modem_add_atom_watch(struct ofono_modem *modem, enum ofono_atom_type type, ofono_atom_watch_func notify, - ofono_destroy_func destroy, void *data) + void *data, ofono_destroy_func destroy) { struct ofono_atom_watch *watch; diff --git a/src/ofono.h b/src/ofono.h index 70239cdd..5dc46e4d 100644 --- a/src/ofono.h +++ b/src/ofono.h @@ -139,7 +139,7 @@ void __ofono_atom_unregister(struct ofono_atom *atom); int __ofono_modem_add_atom_watch(struct ofono_modem *modem, enum ofono_atom_type type, ofono_atom_watch_func notify, - ofono_destroy_func destroy, void *data); + void *data, ofono_destroy_func destroy); gboolean __ofono_modem_remove_atom_watch(struct ofono_modem *modem, int id); void __ofono_atom_free(struct ofono_atom *atom); |