diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-05-28 23:45:05 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2009-05-28 23:45:05 +0000 |
commit | 2c5f9e8a3d36d8849cb7181cf047f8e0352e7d85 (patch) | |
tree | f45b6a9d7f0bc6db7059935b7953f5c04f1b1ef4 /nuttx/examples/nsh | |
parent | 9ba38ba37ec26f618c58c2b548880919ab1a5121 (diff) | |
download | px4-nuttx-2c5f9e8a3d36d8849cb7181cf047f8e0352e7d85.tar.gz px4-nuttx-2c5f9e8a3d36d8849cb7181cf047f8e0352e7d85.tar.bz2 px4-nuttx-2c5f9e8a3d36d8849cb7181cf047f8e0352e7d85.zip |
warning removal
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1834 42af7a65-404d-4744-a932-0658087f49c3
Diffstat (limited to 'nuttx/examples/nsh')
-rw-r--r-- | nuttx/examples/nsh/nsh_lm3s.c | 3 | ||||
-rw-r--r-- | nuttx/examples/nsh/nsh_lpc214x.c | 3 | ||||
-rw-r--r-- | nuttx/examples/nsh/nsh_serial.c | 1 |
3 files changed, 5 insertions, 2 deletions
diff --git a/nuttx/examples/nsh/nsh_lm3s.c b/nuttx/examples/nsh/nsh_lm3s.c index 75576bbbe..791bf9d71 100644 --- a/nuttx/examples/nsh/nsh_lm3s.c +++ b/nuttx/examples/nsh/nsh_lm3s.c @@ -38,8 +38,9 @@ ****************************************************************************/ #include <nuttx/config.h> - #include <sys/types.h> + +#include <stdio.h> #include <debug.h> #include <errno.h> diff --git a/nuttx/examples/nsh/nsh_lpc214x.c b/nuttx/examples/nsh/nsh_lpc214x.c index 487d3e03f..937db8a61 100644 --- a/nuttx/examples/nsh/nsh_lpc214x.c +++ b/nuttx/examples/nsh/nsh_lpc214x.c @@ -38,8 +38,9 @@ ****************************************************************************/ #include <nuttx/config.h> - #include <sys/types.h> + +#include <stdio.h> #include <debug.h> #include <errno.h> diff --git a/nuttx/examples/nsh/nsh_serial.c b/nuttx/examples/nsh/nsh_serial.c index 90107bb67..fe5fac93b 100644 --- a/nuttx/examples/nsh/nsh_serial.c +++ b/nuttx/examples/nsh/nsh_serial.c @@ -363,4 +363,5 @@ int nsh_consolemain(int argc, char *argv[]) fflush(pstate->ss_stream); } } + return OK; } |