From 48a012c810ab16eb616b332a0bfcde88780877d7 Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Mon, 5 Apr 2010 14:32:11 -0500 Subject: Refactor: Make option_scan more type safe --- gatchat/ppp_lcp.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'gatchat/ppp_lcp.c') 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: -- cgit v1.2.3