summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorDaniel Wagner <daniel.wagner@bmw-carit.de>2013-04-18 09:07:24 +0200
committerPatrik Flykt <patrik.flykt@linux.intel.com>2013-04-18 14:17:01 +0300
commit1d1f9c7ccabdcaa74cdb5c4c791fc2bdb32ec42b (patch)
tree118acd7e57070e185764c1c4823283bc20b183b4 /plugins
parent522a55abc20d675350addb6de4d627f52bc9ed23 (diff)
downloadconnman-1d1f9c7ccabdcaa74cdb5c4c791fc2bdb32ec42b.tar.gz
connman-1d1f9c7ccabdcaa74cdb5c4c791fc2bdb32ec42b.tar.bz2
connman-1d1f9c7ccabdcaa74cdb5c4c791fc2bdb32ec42b.zip
session: Change to "func_t" postfix to callback typedef
Streamline the callback typedefs with the rest of the code.
Diffstat (limited to 'plugins')
-rw-r--r--plugins/session_policy_local.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/plugins/session_policy_local.c b/plugins/session_policy_local.c
index 2f503d1a..7125f356 100644
--- a/plugins/session_policy_local.c
+++ b/plugins/session_policy_local.c
@@ -163,7 +163,7 @@ static void selinux_context_reply(const unsigned char *context, void *user_data,
int err)
{
struct cb_data *cbd = user_data;
- connman_session_config_cb cb = cbd->cb;
+ connman_session_config_func_t cb = cbd->cb;
struct create_data *data = cbd->data;
struct policy_data *policy;
struct connman_session_config *config = NULL;
@@ -204,10 +204,10 @@ done:
}
static int policy_local_create(struct connman_session *session,
- connman_session_config_cb callback,
+ connman_session_config_func_t cb,
void *user_data)
{
- struct cb_data *cbd = cb_data_new(callback, user_data);
+ struct cb_data *cbd = cb_data_new(cb, user_data);
struct create_data *data;
const char *owner;
int err;