Progress toward kernel build

git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@3465 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
patacongo 2011-04-05 01:46:55 +00:00
parent d949b96ead
commit 02d07fcafc
2 changed files with 4 additions and 2 deletions

View File

@ -153,7 +153,7 @@ static const struct cmdmap_s g_cmdmap[] =
#endif #endif
#if CONFIG_NFILE_DESCRIPTORS > 0 #if CONFIG_NFILE_DESCRIPTORS > 0
# ifndef CONFIG_NSH_DISABLE_LS # ifndef CONFIG_NSH_DISABLE_DD
{ "dd", cmd_dd, 3, 6, "if=<infile> of=<outfile> [bs=<sectsize>] [count=<sectors>] [skip=<sectors>]" }, { "dd", cmd_dd, 3, 6, "if=<infile> of=<outfile> [bs=<sectsize>] [count=<sectors>] [skip=<sectors>]" },
# endif # endif
#endif #endif
@ -194,7 +194,7 @@ static const struct cmdmap_s g_cmdmap[] =
#endif #endif
#ifndef CONFIG_DISABLE_SIGNALS #ifndef CONFIG_DISABLE_SIGNALS
# ifndef CONFIG_NSH_DISABLE_SLEEP # ifndef CONFIG_NSH_DISABLE_KILL
{ "kill", cmd_kill, 3, 3, "-<signal> <pid>" }, { "kill", cmd_kill, 3, 3, "-<signal> <pid>" },
# endif # endif
#endif #endif

View File

@ -69,6 +69,7 @@ typedef int (*exec_t)(void);
* Private Data * Private Data
****************************************************************************/ ****************************************************************************/
#ifndef CONFIG_NSH_DISABLE_PS
static const char *g_statenames[] = static const char *g_statenames[] =
{ {
"INVALID ", "INVALID ",
@ -85,6 +86,7 @@ static const char *g_statenames[] =
"MQNFULL " "MQNFULL "
#endif #endif
}; };
#endif
/**************************************************************************** /****************************************************************************
* Public Data * Public Data