1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-10 07:04:03 +00:00

Fix build with gcc-3.4

Approved by:	portmgr
This commit is contained in:
Kirill Ponomarev 2004-09-05 20:31:29 +00:00
parent 89e76a8e0f
commit 38c2bfe048
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118117

View File

@ -1,5 +1,8 @@
--- sysinfo.c.orig Tue Oct 6 22:21:18 1998
+++ sysinfo.c Mon Oct 27 15:28:22 2003
$FreeBSD$
--- sysinfo.c.orig Tue Oct 6 16:21:18 1998
+++ sysinfo.c Sun Sep 5 22:30:23 2004
@@ -13,7 +13,9 @@
#include <sys/ioctl_compat.h> /* XXX NTTYDISC is too well hidden */
#include <sys/tty.h>
@ -151,6 +154,15 @@
}
scale_bar(250, nfsStats.nfsClient-old_nfsStats.nfsClient, 25, states, 0);
draw_bar(nfsflag-1, states, 10);
@@ -428,7 +497,7 @@
}
nfs_out:
-}
+;}
/* swapmode is derived from freebsd's pstat source ...
@@ -438,6 +507,21 @@
void
swapmode(int *used, int *avail)