From 11c7cf99c362b9dc33c6d1aa209321e38d131128 Mon Sep 17 00:00:00 2001 From: Yousong Zhou Date: Fri, 21 Aug 2015 10:11:56 +0800 Subject: Changes for more readability. Signed-off-by: Yousong Zhou --- interface.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'interface.c') diff --git a/interface.c b/interface.c index 848990e..ffe7988 100644 --- a/interface.c +++ b/interface.c @@ -649,7 +649,7 @@ interface_handle_config_change(struct interface *iface) } static void -interface_proto_cb(struct interface_proto_state *state, enum interface_proto_event ev) +interface_proto_event_cb(struct interface_proto_state *state, enum interface_proto_event ev) { struct interface *iface = state->iface; @@ -708,7 +708,7 @@ void interface_set_proto_state(struct interface *iface, struct interface_proto_s if (!state) return; - state->proto_event = interface_proto_cb; + state->proto_event = interface_proto_event_cb; state->iface = iface; } -- cgit v1.2.1