examples/coap-server : trivial patch on handle signal function
authorJin-Seong Kim <jseong82.kim@samsung.com>
Mon, 29 May 2017 07:51:59 +0000 (16:51 +0900)
committerEunBong Song <eunb.song@samsung.com>
Tue, 11 Jul 2017 01:26:56 +0000 (10:26 +0900)
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 <jseong82.kim@samsung.com>
apps/examples/libcoap_test/coap-server.c

index 53f613e..743ca89 100644 (file)
@@ -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;
 }