diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-08 18:56:24 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-01-08 18:56:24 +0100 |
commit | 41ade05cacd61a42e348f21aeddb7b12b0ad5d3d (patch) | |
tree | 707daaa8a9887c6c9e56baaf13d597dcbf541b55 | |
parent | 4471969db2102df9c97582b6577c7505caf64a34 (diff) | |
download | busybox-41ade05cacd61a42e348f21aeddb7b12b0ad5d3d.tar.gz |
hush: conditionalize print_escaped() on EXPORT || TRAP
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | shell/hush.c | 2 |
1 files changed, 2 insertions, 0 deletions
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 |