diff options
author | Gregory Nutt <gnutt@nuttx.org> | 2014-01-10 15:23:26 -0600 |
---|---|---|
committer | Gregory Nutt <gnutt@nuttx.org> | 2014-01-10 15:23:26 -0600 |
commit | e1de0b9e18e8224a156a16a9ec43ae4441f11f81 (patch) | |
tree | 337030e19ae0016bb1aa68149b8b6bf456cd7c30 /apps/nshlib/nsh_command.c | |
parent | 50bc19ba9a0985ceccc988a2bb7961d23f60cd49 (diff) | |
download | nuttx-e1de0b9e18e8224a156a16a9ec43ae4441f11f81.tar.gz nuttx-e1de0b9e18e8224a156a16a9ec43ae4441f11f81.tar.bz2 nuttx-e1de0b9e18e8224a156a16a9ec43ae4441f11f81.zip |
NSH: Separate command line parsing from command execution. Add support for multiple, semicolone separated commands on each line
Diffstat (limited to 'apps/nshlib/nsh_command.c')
-rw-r--r-- | apps/nshlib/nsh_command.c | 17 |
1 files changed, 3 insertions, 14 deletions
diff --git a/apps/nshlib/nsh_command.c b/apps/nshlib/nsh_command.c index 4babd9200..7d914075f 100644 --- a/apps/nshlib/nsh_command.c +++ b/apps/nshlib/nsh_command.c @@ -39,22 +39,11 @@ #include <nuttx/config.h> -#include <sys/stat.h> - -#include <stdint.h> -#include <stdbool.h> -#include <stdio.h> -#include <stdlib.h> -#include <unistd.h> #include <string.h> -#include <sched.h> -#include <fcntl.h> -#include <errno.h> -#include <debug.h> - -#include <nuttx/version.h> -#include <apps/nsh.h> +#ifdef CONFIG_NSH_BUILTIN_APPS +# include <nuttx/binfmt/builtin.h> +#endif #include "nsh.h" #include "nsh_console.h" |