From 577598d2dfc6cfc582d2a7dbdef6b445d152b7e4 Mon Sep 17 00:00:00 2001 From: Sara Souza Date: Fri, 12 Mar 2021 01:05:15 +0800 Subject: [PATCH] Apply 2 suggestion(s) to 1 file(s) --- examples/termios/termios_main.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/examples/termios/termios_main.c b/examples/termios/termios_main.c index 7af76894e..44512af31 100644 --- a/examples/termios/termios_main.c +++ b/examples/termios/termios_main.c @@ -36,7 +36,7 @@ * main ****************************************************************************/ -void main(int argc, FAR char *argv[]) +int main(int argc, FAR char *argv[]) { int fd; int ret; @@ -123,5 +123,6 @@ void main(int argc, FAR char *argv[]) "Expected error code: 0. Current code: %d\n", error); sleep(1); } + return 0; }