This is an automated email from the ASF dual-hosted git repository. xiaoxiang pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/incubator-nuttx-apps.git
commit 577598d2dfc6cfc582d2a7dbdef6b445d152b7e4 Author: Sara Souza <[email protected]> AuthorDate: Fri Mar 12 01:05:15 2021 +0800 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 7af7689..44512af 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; }
