From: Paul Fox Date: Thu, 20 Mar 2008 16:05:02 +0000 (-0000) Subject: let top build without TERMIOS enabled X-Git-Tag: 1_10_0~8 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=275b929e0157c7e40a66df108b1e1954b59a2bdf;p=oweals%2Fbusybox.git let top build without TERMIOS enabled --- diff --git a/procps/top.c b/procps/top.c index 85ceaccf7..e3f91c8f9 100644 --- a/procps/top.c +++ b/procps/top.c @@ -933,6 +933,8 @@ int top_main(int argc ATTRIBUTE_UNUSED, char **argv) } /* end of "while (1)" */ bb_putchar('\n'); +#if ENABLE_FEATURE_USE_TERMIOS reset_term(); +#endif return EXIT_SUCCESS; }