diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-05 14:32:11 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-05 14:32:11 -0500 |
commit | 48a012c810ab16eb616b332a0bfcde88780877d7 (patch) | |
tree | 465d901892c5c59e0828a80d71fddc52585902f0 /gatchat/ppp_lcp.c | |
parent | 5e8a9c29414fb7d9d59a25f6d9e8d523baac95cc (diff) | |
download | ofono-48a012c810ab16eb616b332a0bfcde88780877d7.tar.bz2 |
Refactor: Make option_scan more type safe
Diffstat (limited to 'gatchat/ppp_lcp.c')
-rw-r--r-- | gatchat/ppp_lcp.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/gatchat/ppp_lcp.c b/gatchat/ppp_lcp.c index 7dab019b..aba52864 100644 --- a/gatchat/ppp_lcp.c +++ b/gatchat/ppp_lcp.c @@ -86,7 +86,8 @@ static void lcp_finished(struct pppcp_data *pppcp) * We need to use a default case here because this option type value * could be anything. */ -static guint lcp_option_scan(struct ppp_option *option, gpointer user) +static guint lcp_option_scan(struct pppcp_data *pppcp, + struct ppp_option *option) { switch (option->type) { case ACCM: |