summaryrefslogtreecommitdiffstats
path: root/gatchat/ppp_lcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/ppp_lcp.c')
-rw-r--r--gatchat/ppp_lcp.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/gatchat/ppp_lcp.c b/gatchat/ppp_lcp.c
index aee7b104..7dab019b 100644
--- a/gatchat/ppp_lcp.c
+++ b/gatchat/ppp_lcp.c
@@ -107,10 +107,9 @@ static guint lcp_option_scan(struct ppp_option *option, gpointer user)
* We need to use a default case here because this option type value
* could be anything.
*/
-static void lcp_option_process(gpointer data, gpointer user)
+static void lcp_option_process(struct pppcp_data *pppcp,
+ struct ppp_option *option)
{
- struct ppp_option *option = data;
- struct pppcp_data *pppcp = user;
GAtPPP *ppp = pppcp->ppp;
guint32 magic;