aboutsummaryrefslogtreecommitdiff
path: root/shell
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2010-03-26 15:53:33 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2010-03-26 15:53:33 +0100
commit023a08f2292a5ae6eb6a8350dc8a94fc64bfcb7c (patch)
tree0a002e20b1ab292476049de727d03c4b34283be7 /shell
parent496d5bf4c6566b7837e61fa83da3fb5851ae446b (diff)
downloadbusybox-023a08f2292a5ae6eb6a8350dc8a94fc64bfcb7c.tar.gz
ash: line up builtin table. no code changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell')
-rw-r--r--shell/ash.c90
1 files changed, 45 insertions, 45 deletions
diff --git a/shell/ash.c b/shell/ash.c
index 0cfa4fc6f..9d55f892e 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -8879,77 +8879,77 @@ static int FAST_FUNC testcmd(int argc, char **argv) { return test_main(argc, a
/* Keep these in proper order since it is searched via bsearch() */
static const struct builtincmd builtintab[] = {
- { BUILTIN_SPEC_REG ".", dotcmd },
- { BUILTIN_SPEC_REG ":", truecmd },
+ { BUILTIN_SPEC_REG "." , dotcmd },
+ { BUILTIN_SPEC_REG ":" , truecmd },
#if ENABLE_ASH_BUILTIN_TEST
- { BUILTIN_REGULAR "[", testcmd },
+ { BUILTIN_REGULAR "[" , testcmd },
#if ENABLE_ASH_BASH_COMPAT
- { BUILTIN_REGULAR "[[", testcmd },
+ { BUILTIN_REGULAR "[[" , testcmd },
#endif
#endif
#if ENABLE_ASH_ALIAS
- { BUILTIN_REG_ASSG "alias", aliascmd },
+ { BUILTIN_REG_ASSG "alias" , aliascmd },
#endif
#if JOBS
- { BUILTIN_REGULAR "bg", fg_bgcmd },
+ { BUILTIN_REGULAR "bg" , fg_bgcmd },
#endif
- { BUILTIN_SPEC_REG "break", breakcmd },
- { BUILTIN_REGULAR "cd", cdcmd },
- { BUILTIN_NOSPEC "chdir", cdcmd },
+ { BUILTIN_SPEC_REG "break" , breakcmd },
+ { BUILTIN_REGULAR "cd" , cdcmd },
+ { BUILTIN_NOSPEC "chdir" , cdcmd },
#if ENABLE_ASH_CMDCMD
- { BUILTIN_REGULAR "command", commandcmd },
+ { BUILTIN_REGULAR "command" , commandcmd },
#endif
- { BUILTIN_SPEC_REG "continue", breakcmd },
+ { BUILTIN_SPEC_REG "continue", breakcmd },
#if ENABLE_ASH_BUILTIN_ECHO
- { BUILTIN_REGULAR "echo", echocmd },
+ { BUILTIN_REGULAR "echo" , echocmd },
#endif
- { BUILTIN_SPEC_REG "eval", evalcmd },
- { BUILTIN_SPEC_REG "exec", execcmd },
- { BUILTIN_SPEC_REG "exit", exitcmd },
- { BUILTIN_SPEC_REG_ASSG "export", exportcmd },
- { BUILTIN_REGULAR "false", falsecmd },
+ { BUILTIN_SPEC_REG "eval" , evalcmd },
+ { BUILTIN_SPEC_REG "exec" , execcmd },
+ { BUILTIN_SPEC_REG "exit" , exitcmd },
+ { BUILTIN_SPEC_REG_ASSG "export" , exportcmd },
+ { BUILTIN_REGULAR "false" , falsecmd },
#if JOBS
- { BUILTIN_REGULAR "fg", fg_bgcmd },
+ { BUILTIN_REGULAR "fg" , fg_bgcmd },
#endif
#if ENABLE_ASH_GETOPTS
- { BUILTIN_REGULAR "getopts", getoptscmd },
+ { BUILTIN_REGULAR "getopts" , getoptscmd },
#endif
- { BUILTIN_NOSPEC "hash", hashcmd },
+ { BUILTIN_NOSPEC "hash" , hashcmd },
#if !ENABLE_FEATURE_SH_EXTRA_QUIET
- { BUILTIN_NOSPEC "help", helpcmd },
+ { BUILTIN_NOSPEC "help" , helpcmd },
#endif
#if JOBS
- { BUILTIN_REGULAR "jobs", jobscmd },
- { BUILTIN_REGULAR "kill", killcmd },
+ { BUILTIN_REGULAR "jobs" , jobscmd },
+ { BUILTIN_REGULAR "kill" , killcmd },
#endif
#if ENABLE_SH_MATH_SUPPORT
- { BUILTIN_NOSPEC "let", letcmd },
+ { BUILTIN_NOSPEC "let" , letcmd },
#endif
- { BUILTIN_ASSIGN "local", localcmd },
+ { BUILTIN_ASSIGN "local" , localcmd },
#if ENABLE_ASH_BUILTIN_PRINTF
- { BUILTIN_REGULAR "printf", printfcmd },
-#endif
- { BUILTIN_NOSPEC "pwd", pwdcmd },
- { BUILTIN_REGULAR "read", readcmd },
- { BUILTIN_SPEC_REG_ASSG "readonly", exportcmd },
- { BUILTIN_SPEC_REG "return", returncmd },
- { BUILTIN_SPEC_REG "set", setcmd },
- { BUILTIN_SPEC_REG "shift", shiftcmd },
- { BUILTIN_SPEC_REG "source", dotcmd },
+ { BUILTIN_REGULAR "printf" , printfcmd },
+#endif
+ { BUILTIN_NOSPEC "pwd" , pwdcmd },
+ { BUILTIN_REGULAR "read" , readcmd },
+ { BUILTIN_SPEC_REG_ASSG "readonly", exportcmd },
+ { BUILTIN_SPEC_REG "return" , returncmd },
+ { BUILTIN_SPEC_REG "set" , setcmd },
+ { BUILTIN_SPEC_REG "shift" , shiftcmd },
+ { BUILTIN_SPEC_REG "source" , dotcmd },
#if ENABLE_ASH_BUILTIN_TEST
- { BUILTIN_REGULAR "test", testcmd },
-#endif
- { BUILTIN_SPEC_REG "times", timescmd },
- { BUILTIN_SPEC_REG "trap", trapcmd },
- { BUILTIN_REGULAR "true", truecmd },
- { BUILTIN_NOSPEC "type", typecmd },
- { BUILTIN_NOSPEC "ulimit", ulimitcmd },
- { BUILTIN_REGULAR "umask", umaskcmd },
+ { BUILTIN_REGULAR "test" , testcmd },
+#endif
+ { BUILTIN_SPEC_REG "times" , timescmd },
+ { BUILTIN_SPEC_REG "trap" , trapcmd },
+ { BUILTIN_REGULAR "true" , truecmd },
+ { BUILTIN_NOSPEC "type" , typecmd },
+ { BUILTIN_NOSPEC "ulimit" , ulimitcmd },
+ { BUILTIN_REGULAR "umask" , umaskcmd },
#if ENABLE_ASH_ALIAS
- { BUILTIN_REGULAR "unalias", unaliascmd },
+ { BUILTIN_REGULAR "unalias" , unaliascmd },
#endif
- { BUILTIN_SPEC_REG "unset", unsetcmd },
- { BUILTIN_REGULAR "wait", waitcmd },
+ { BUILTIN_SPEC_REG "unset" , unsetcmd },
+ { BUILTIN_REGULAR "wait" , waitcmd },
};
/* Should match the above table! */