should compile

This commit is contained in:
albert 2002-10-12 05:36:52 +00:00
parent 81a4a3d281
commit d9ff991a71
2 changed files with 11 additions and 1 deletions

View File

@ -1,3 +1,13 @@
procps-3.0.1 --> procps-3.0.2
top defaults to the old layout
top defaults to sorting by %CPU
fix top for non-SMP 2.2.xx and 2.0.xx
new "make install" fixed
vmstat -a fixed
vmstat compiles with latest gcc-3.x
vmstat does 64-bit time
procps-3.0.0 --> procps-3.0.1 procps-3.0.0 --> procps-3.0.1
sysctl handles net/ipv4/conf/eth1.0123/tag (VLAN interface) sysctl handles net/ipv4/conf/eth1.0123/tag (VLAN interface)

2
top.c
View File

@ -1589,10 +1589,10 @@ static void wins_reflag (int what, int flg)
* SIGWINCH and SIGCONT */ * SIGWINCH and SIGCONT */
static void wins_resize (int dont_care_sig) static void wins_resize (int dont_care_sig)
{ {
(void)dont_care_sig;
struct winsize wz; struct winsize wz;
WIN_t *w; WIN_t *w;
(void)dont_care_sig;
Screen_cols = columns; Screen_cols = columns;
Screen_rows = lines; Screen_rows = lines;
if (-1 != (ioctl(STDOUT_FILENO, TIOCGWINSZ, &wz))) { if (-1 != (ioctl(STDOUT_FILENO, TIOCGWINSZ, &wz))) {