diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2017-06-27 15:09:39 +0200 |
---|---|---|
committer | Ron Yorston <rmy@pobox.com> | 2017-08-23 09:24:04 +0100 |
commit | 78e17405d8437a31065ccf4477f5eacb7327ab90 (patch) | |
tree | 327a58eabf7847dd206196181cff1eccff932dde | |
parent | de0bcdee1d62f3b432922fdb7ac001d4b3d6a58e (diff) | |
download | busybox-w32-78e17405d8437a31065ccf4477f5eacb7327ab90.tar.gz busybox-w32-78e17405d8437a31065ccf4477f5eacb7327ab90.tar.bz2 busybox-w32-78e17405d8437a31065ccf4477f5eacb7327ab90.zip |
less: avoid defining unused function
This was forgotten in f4c43d4a2 (less: hide unsupported signal handling
in include file, 2016-05-19).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Ron Yorston <rmy@pobox.com>
-rw-r--r-- | miscutils/less.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/miscutils/less.c b/miscutils/less.c index 75ded97cf..8a5b9ff0b 100644 --- a/miscutils/less.c +++ b/miscutils/less.c | |||
@@ -1820,10 +1820,12 @@ static void keypress_process(int keypress) | |||
1820 | number_process(keypress); | 1820 | number_process(keypress); |
1821 | } | 1821 | } |
1822 | 1822 | ||
1823 | #if !ENABLE_PLATFORM_MINGW32 | ||
1823 | static void sig_catcher(int sig) | 1824 | static void sig_catcher(int sig) |
1824 | { | 1825 | { |
1825 | less_exit(- sig); | 1826 | less_exit(- sig); |
1826 | } | 1827 | } |
1828 | #endif | ||
1827 | 1829 | ||
1828 | #if ENABLE_FEATURE_LESS_WINCH | 1830 | #if ENABLE_FEATURE_LESS_WINCH |
1829 | static void sigwinch_handler(int sig UNUSED_PARAM) | 1831 | static void sigwinch_handler(int sig UNUSED_PARAM) |