Follow the more common glib convention for destroy

This commit is contained in:
Denis Kenzior 2009-08-14 17:06:59 -05:00
parent 3c6b6b908f
commit e36c8b1d5d
2 changed files with 2 additions and 2 deletions

View File

@ -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;

View File

@ -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);