examples/coap-server : trivial patch on handle signal function
This commit is trivial patch on handle signal function
- handle_sigint function name can be used by other applications
- it can causes linking error after compiling so, fix it to static
@@ -61,7 +61,7 @@ static coap_async_state_t *async = NULL;
#endif /* WITHOUT_ASYNC */
/* SIGINT handler: set quit to 1 for graceful termination */
-void handle_sigint(int signum)
+static void handle_sigint(int signum)
{
quit = 1;
}
