aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorkrion <krion@FreeBSD.org>2004-08-27 21:47:47 +0800
committerkrion <krion@FreeBSD.org>2004-08-27 21:47:47 +0800
commita81469459f2600707b411858dea7305865f0cc3e (patch)
tree8f05c34f9c94e98def8238e37ee1f09a7bb4b88e /sysutils
parente4c3ab834162927175b5d3738d4c91e135c92cf6 (diff)
downloadfreebsd-ports-gnome-a81469459f2600707b411858dea7305865f0cc3e.tar.gz
freebsd-ports-gnome-a81469459f2600707b411858dea7305865f0cc3e.tar.zst
freebsd-ports-gnome-a81469459f2600707b411858dea7305865f0cc3e.zip
Ad hoc fix for reported build errors on 5.2
Remove unused function prototype PR: ports/71020 Submitted by: maintainer
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/torsmo/files/freebsd.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sysutils/torsmo/files/freebsd.c b/sysutils/torsmo/files/freebsd.c
index b973050d6b97..5ad54e486bc5 100644
--- a/sysutils/torsmo/files/freebsd.c
+++ b/sysutils/torsmo/files/freebsd.c
@@ -11,13 +11,13 @@
#include <stdlib.h>
#include <string.h>
#include <kvm.h>
-#include <sys/dkstat.h>
#include <sys/param.h>
#include <sys/types.h>
#include <sys/time.h>
#include <sys/resource.h>
#include <sys/sysctl.h>
#include <sys/vmmeter.h>
+#include <sys/dkstat.h>
#include <unistd.h>
#include <sys/user.h>
#include <sys/socket.h>
@@ -26,8 +26,6 @@
#include <sys/socket.h>
#include <ifaddrs.h>
-void net_init();
-
#define GETSYSCTL(name, var) getsysctl(name, &(var), sizeof(var))
#define KELVTOC(x) ((x - 2732) / 10.0)