vi: avoid build failure in non-default case
authorRon Yorston <rmy@pobox.com>
Wed, 3 Apr 2019 07:56:30 +0000 (08:56 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Wed, 3 Apr 2019 14:20:13 +0000 (16:20 +0200)
commit3e61b59ef326cdb800736f502e0240b109271076
treeaeb26998dfb89712345341e79149d61310b5debf
parent2f28b2bdbbe229b760e7c2a271d73a19f929ca76
vi: avoid build failure in non-default case

If vi is built with FEATURE_VI_USE_SIGNALS disabled and
FEATURE_VI_WIN_RESIZE enabled new_screen() is used without a
declaration.  Move the function to avoid this.

Signed-off-by: Ron Yorston <rmy@pobox.com>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
editors/vi.c