diff --git a/examples/jn516x/rpl/border-router/slip-bridge.c b/examples/jn516x/rpl/border-router/slip-bridge.c index e3b0f814b..e79f80990 100644 --- a/examples/jn516x/rpl/border-router/slip-bridge.c +++ b/examples/jn516x/rpl/border-router/slip-bridge.c @@ -107,7 +107,7 @@ init(void) slip_set_input_callback(slip_input_callback); } /*---------------------------------------------------------------------------*/ -static void +static int output(void) { if(uip_ipaddr_cmp(&last_sender, &UIP_IP_BUF->srcipaddr)) { @@ -123,6 +123,7 @@ output(void) slip_send(); printf("\n"); } + return 0; } /*---------------------------------------------------------------------------*/ #if !SLIP_BRIDGE_CONF_NO_PUTCHAR