summaryrefslogtreecommitdiffstats
path: root/include/modem.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-08-12 14:52:37 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-08-12 15:46:46 -0500
commitad8607994f05f8cd6b852b15d726db150e4a031c (patch)
treefeecc80f7ec6e3edfa1fbd7c336943e8c2be49dd /include/modem.h
parent9194a718134a95be72cecf9de7a13f7ce5c3f5db (diff)
downloadofono-ad8607994f05f8cd6b852b15d726db150e4a031c.tar.bz2
modem: Be consistent when naming callback typedefs
Diffstat (limited to 'include/modem.h')
-rw-r--r--include/modem.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/modem.h b/include/modem.h
index e1cd0494..8f8119ef 100644
--- a/include/modem.h
+++ b/include/modem.h
@@ -64,7 +64,7 @@ int ofono_modem_set_boolean(struct ofono_modem *modem,
ofono_bool_t ofono_modem_get_boolean(struct ofono_modem *modem,
const char *key);
-typedef void (*ofono_modem_online_cb)(const struct ofono_error *error,
+typedef void (*ofono_modem_online_cb_t)(const struct ofono_error *error,
void *data);
struct ofono_modem_driver {
@@ -85,7 +85,7 @@ struct ofono_modem_driver {
/* Enable or disable cellular radio */
void (*set_online)(struct ofono_modem *modem, ofono_bool_t online,
- ofono_modem_online_cb callback, void *data);
+ ofono_modem_online_cb_t callback, void *data);
/* Populate the atoms available without SIM / Locked SIM */
void (*pre_sim)(struct ofono_modem *modem);