From: Jin-Seong Kim Date: Mon, 29 May 2017 07:51:59 +0000 (+0900) Subject: examples/coap-server : trivial patch on handle signal function X-Git-Tag: 1.1_Public_Release~457^2~10 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9de9e1f1a6ad7de219028d842bac1f7bbdb9c1ab;p=rtos%2Ftinyara.git 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 Change-Id: I0d220677c33cdbe65b9913896314bb571dabd61a Signed-off-by: Jin-Seong Kim --- diff --git a/apps/examples/libcoap_test/coap-server.c b/apps/examples/libcoap_test/coap-server.c index 53f613e..743ca89 100644 --- a/apps/examples/libcoap_test/coap-server.c +++ b/apps/examples/libcoap_test/coap-server.c @@ -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; }