diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-05-26 15:19:07 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-05-26 21:03:14 -0500 |
commit | 5890c38a37004086473f92ce46c861d652800f9c (patch) | |
tree | cbbb8a851bef7ca7463038d035e195fa2bf2a9f6 | |
parent | 53dc160362823493d4ba046db70466797fcf51eb (diff) | |
download | ofono-5890c38a37004086473f92ce46c861d652800f9c.tar.bz2 |
Refactor: Don't use ofono_ prefix
Only meant for oFono public API
-rw-r--r-- | src/modem.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/modem.c b/src/modem.c index 54c7e9ba..37d57749 100644 --- a/src/modem.c +++ b/src/modem.c @@ -99,7 +99,7 @@ struct ofono_atom { struct ofono_modem *modem; }; -struct ofono_atom_watch { +struct atom_watch { struct ofono_watchlist_item item; enum ofono_atom_type type; }; @@ -201,7 +201,7 @@ static void call_watches(struct ofono_atom *atom, struct ofono_modem *modem = atom->modem; GSList *atom_watches = modem->atom_watches->items; GSList *l; - struct ofono_atom_watch *watch; + struct atom_watch *watch; ofono_atom_watch_func notify; for (l = atom_watches; l; l = l->next) { @@ -246,12 +246,12 @@ unsigned int __ofono_modem_add_atom_watch(struct ofono_modem *modem, ofono_atom_watch_func notify, void *data, ofono_destroy_func destroy) { - struct ofono_atom_watch *watch; + struct atom_watch *watch; if (notify == NULL) return 0; - watch = g_new0(struct ofono_atom_watch, 1); + watch = g_new0(struct atom_watch, 1); watch->type = type; watch->item.notify = notify; |