You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@nuttx.apache.org by xi...@apache.org on 2021/03/22 16:47:17 UTC

[incubator-nuttx-apps] 02/04: Apply 2 suggestion(s) to 1 file(s)

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 <sa...@espressif.com>
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;
 }