mirror of git://git.sysmocom.de/ofono
Follow the more common glib convention for destroy
This commit is contained in:
parent
3c6b6b908f
commit
e36c8b1d5d
|
@ -193,7 +193,7 @@ void __ofono_atom_unregister(struct ofono_atom *atom)
|
||||||
int __ofono_modem_add_atom_watch(struct ofono_modem *modem,
|
int __ofono_modem_add_atom_watch(struct ofono_modem *modem,
|
||||||
enum ofono_atom_type type,
|
enum ofono_atom_type type,
|
||||||
ofono_atom_watch_func notify,
|
ofono_atom_watch_func notify,
|
||||||
ofono_destroy_func destroy, void *data)
|
void *data, ofono_destroy_func destroy)
|
||||||
{
|
{
|
||||||
struct ofono_atom_watch *watch;
|
struct ofono_atom_watch *watch;
|
||||||
|
|
||||||
|
|
|
@ -139,7 +139,7 @@ void __ofono_atom_unregister(struct ofono_atom *atom);
|
||||||
int __ofono_modem_add_atom_watch(struct ofono_modem *modem,
|
int __ofono_modem_add_atom_watch(struct ofono_modem *modem,
|
||||||
enum ofono_atom_type type,
|
enum ofono_atom_type type,
|
||||||
ofono_atom_watch_func notify,
|
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);
|
gboolean __ofono_modem_remove_atom_watch(struct ofono_modem *modem, int id);
|
||||||
|
|
||||||
void __ofono_atom_free(struct ofono_atom *atom);
|
void __ofono_atom_free(struct ofono_atom *atom);
|
||||||
|
|
Loading…
Reference in New Issue