summaryrefslogtreecommitdiff
path: root/shell/ash.c
diff options
context:
space:
mode:
authorDenys Vlasenko2009-06-09 18:40:07 +0200
committerDenys Vlasenko2009-06-09 18:40:07 +0200
commit2634bf366b298a827d043566656f8696f4dc153c (patch)
tree72c0b708f16f97d953587422321005067fd6e106 /shell/ash.c
parent38d9072b2c9490e67c3423e09b081754095d8c49 (diff)
downloadbusybox-2634bf366b298a827d043566656f8696f4dc153c.zip
busybox-2634bf366b298a827d043566656f8696f4dc153c.tar.gz
randomconfig fixes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r--shell/ash.c10
1 files changed, 8 insertions, 2 deletions
diff --git a/shell/ash.c b/shell/ash.c
index cc5802c..7843afa 100644
--- a/shell/ash.c
+++ b/shell/ash.c
@@ -1730,13 +1730,13 @@ static const char defifs[] ALIGN1 = " \t\n";
/* Need to be before varinit_data[] */
#if ENABLE_LOCALE_SUPPORT
-static void
+static void FAST_FUNC
change_lc_all(const char *value)
{
if (value && *value != '\0')
setlocale(LC_ALL, value);
}
-static void
+static void FAST_FUNC
change_lc_ctype(const char *value)
{
if (value && *value != '\0')
@@ -8740,9 +8740,15 @@ static int ulimitcmd(int, char **) FAST_FUNC;
*/
/* Stubs for calling non-FAST_FUNC's */
+#if ENABLE_ASH_BUILTIN_ECHO
static int FAST_FUNC echocmd(int argc, char **argv) { return echo_main(argc, argv); }
+#endif
+#if ENABLE_ASH_BUILTIN_PRINTF
static int FAST_FUNC printfcmd(int argc, char **argv) { return printf_main(argc, argv); }
+#endif
+#if ENABLE_ASH_BUILTIN_TEST
static int FAST_FUNC testcmd(int argc, char **argv) { return test_main(argc, argv); }
+#endif
/* Keep these in proper order since it is searched via bsearch() */
static const struct builtincmd builtintab[] = {