From: Denys Vlasenko Date: Sun, 8 Jan 2017 17:56:24 +0000 (+0100) Subject: hush: conditionalize print_escaped() on EXPORT || TRAP X-Git-Tag: 1_27_0~267 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=41ade05cacd61a42e348f21aeddb7b12b0ad5d3d;p=oweals%2Fbusybox.git hush: conditionalize print_escaped() on EXPORT || TRAP Signed-off-by: Denys Vlasenko --- diff --git a/shell/hush.c b/shell/hush.c index 3050aeb8e..9b62d5c0d 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -8936,6 +8936,7 @@ static int FAST_FUNC builtin_exit(char **argv) hush_exit(xatoi(argv[0]) & 0xff); } +#if ENABLE_HUSH_EXPORT || ENABLE_HUSH_TRAP static void print_escaped(const char *s) { if (*s == '\'') @@ -8954,6 +8955,7 @@ static void print_escaped(const char *s) putchar('"'); } while (*s); } +#endif #if ENABLE_HUSH_EXPORT || ENABLE_HUSH_LOCAL # if !ENABLE_HUSH_LOCAL