summaryrefslogtreecommitdiffstats
path: root/sys/vm
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2000-07-03 09:35:31 +0000
committerphk <phk@FreeBSD.org>2000-07-03 09:35:31 +0000
commit61ff05be253ab1a6d0939338ce307aece558f308 (patch)
treef854da72d7b16ec777419f1209c54e76eeedc5af /sys/vm
parent1212bcc09f8e48235a83c65a1e350eaa0b3c5931 (diff)
downloadFreeBSD-src-61ff05be253ab1a6d0939338ce307aece558f308.zip
FreeBSD-src-61ff05be253ab1a6d0939338ce307aece558f308.tar.gz
Style police catches up with rev 1.26 of src/sys/sys/sysctl.h:
Sanitize SYSCTL_HANDLER_ARGS so that simplistic tools can grog our sources: -sysctl_vm_zone SYSCTL_HANDLER_ARGS +sysctl_vm_zone (SYSCTL_HANDLER_ARGS)
Diffstat (limited to 'sys/vm')
-rw-r--r--sys/vm/vm_meter.c2
-rw-r--r--sys/vm/vm_zone.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/sys/vm/vm_meter.c b/sys/vm/vm_meter.c
index 3cb98ad..962a186 100644
--- a/sys/vm/vm_meter.c
+++ b/sys/vm/vm_meter.c
@@ -125,7 +125,7 @@ SYSCTL_STRUCT(_vm, VM_LOADAVG, loadavg, CTLFLAG_RD,
&averunnable, loadavg, "Machine loadaverage history");
static int
-vmtotal SYSCTL_HANDLER_ARGS
+vmtotal (SYSCTL_HANDLER_ARGS)
{
struct proc *p;
struct vmtotal total, *totalp;
diff --git a/sys/vm/vm_zone.c b/sys/vm/vm_zone.c
index d7bbfaa..85410fe 100644
--- a/sys/vm/vm_zone.c
+++ b/sys/vm/vm_zone.c
@@ -50,7 +50,7 @@ static MALLOC_DEFINE(M_ZONE, "ZONE", "Zone header");
*/
static struct vm_zone *zlist;
-static int sysctl_vm_zone SYSCTL_HANDLER_ARGS;
+static int sysctl_vm_zone (SYSCTL_HANDLER_ARGS);
static int zone_kmem_pages, zone_kern_pages, zone_kmem_kvaspace;
/*
@@ -390,7 +390,7 @@ _zget(vm_zone_t z)
}
static int
-sysctl_vm_zone SYSCTL_HANDLER_ARGS
+sysctl_vm_zone (SYSCTL_HANDLER_ARGS)
{
int error=0;
vm_zone_t curzone, nextzone;
OpenPOWER on IntegriCloud