From 335b63d8d1876ce4e172ebcc9d64544785682244 Mon Sep 17 00:00:00 2001 From: Denis Vlasenko Date: Tue, 10 Apr 2007 21:38:30 +0000 Subject: make a few struct bb_applet members conditional rename sllep_and_die -> xfunc_die make fflush_stdout_and_exit NOFORK-safe fix some buglets found by randomconfig --- shell/ash.c | 2 +- shell/msh.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index f98fc4178..b4278424a 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -6533,7 +6533,7 @@ tryexec(char *cmd, char **argv, char **envp) #if ENABLE_FEATURE_SH_STANDALONE_SHELL if (strchr(cmd, '/') == NULL) { - const struct BB_applet *a; + const struct bb_applet *a; a = find_applet_by_name(cmd); if (a) { diff --git a/shell/msh.c b/shell/msh.c index 3a5c85050..23a7c0498 100644 --- a/shell/msh.c +++ b/shell/msh.c @@ -3197,7 +3197,7 @@ static int dohelp(struct op *t) } #if ENABLE_FEATURE_SH_STANDALONE_SHELL { - const struct BB_applet *applet = applets; + const struct bb_applet *applet = applets; while (applet->name) { col += printf("%c%s", ((col == 0) ? '\t' : ' '), applet->name); -- cgit v1.2.3