summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/modem.c2
-rw-r--r--src/ofono.h2
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);