less: move code to count lines into a separate function
authorRon Yorston <rmy@pobox.com>
Fri, 24 Jul 2015 13:27:42 +0000 (14:27 +0100)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 31 Jul 2015 14:22:07 +0000 (16:22 +0200)
commit159e032bf4cd24535e57daaf29a381b0d5163368
treec073b9ae7a065cbb9021103b3d3f9f2992e346dd
parentae1a9e899e0d4695834e8ce7348d41663abcef1e
less: move code to count lines into a separate function

function                                             old     new   delta
update_num_lines                                       -     159    +159
m_status_print                                       409     266    -143
------------------------------------------------------------------------------
(add/remove: 1/0 grow/shrink: 0/1 up/down: 159/-143)           Total: 16 bytes

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