summaryrefslogtreecommitdiffstats
path: root/sys/amd64
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/amd64
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/amd64')
-rw-r--r--sys/amd64/amd64/machdep.c12
-rw-r--r--sys/amd64/amd64/prof_machdep.c2
-rw-r--r--sys/amd64/amd64/tsc.c4
-rw-r--r--sys/amd64/isa/clock.c4
4 files changed, 11 insertions, 11 deletions
diff --git a/sys/amd64/amd64/machdep.c b/sys/amd64/amd64/machdep.c
index ef6ac62..9da2211 100644
--- a/sys/amd64/amd64/machdep.c
+++ b/sys/amd64/amd64/machdep.c
@@ -156,7 +156,7 @@ int cold = 1;
static void osendsig __P((sig_t catcher, int sig, sigset_t *mask, u_long code));
static int
-sysctl_hw_physmem SYSCTL_HANDLER_ARGS
+sysctl_hw_physmem (SYSCTL_HANDLER_ARGS)
{
int error = sysctl_handle_int(oidp, 0, ctob(physmem), req);
return (error);
@@ -166,7 +166,7 @@ SYSCTL_PROC(_hw, HW_PHYSMEM, physmem, CTLTYPE_INT|CTLFLAG_RD,
0, 0, sysctl_hw_physmem, "I", "");
static int
-sysctl_hw_usermem SYSCTL_HANDLER_ARGS
+sysctl_hw_usermem (SYSCTL_HANDLER_ARGS)
{
int error = sysctl_handle_int(oidp, 0,
ctob(physmem - cnt.v_wire_count), req);
@@ -177,7 +177,7 @@ SYSCTL_PROC(_hw, HW_USERMEM, usermem, CTLTYPE_INT|CTLFLAG_RD,
0, 0, sysctl_hw_usermem, "I", "");
static int
-sysctl_hw_availpages SYSCTL_HANDLER_ARGS
+sysctl_hw_availpages (SYSCTL_HANDLER_ARGS)
{
int error = sysctl_handle_int(oidp, 0,
i386_btop(avail_end - avail_start), req);
@@ -188,7 +188,7 @@ SYSCTL_PROC(_hw, OID_AUTO, availpages, CTLTYPE_INT|CTLFLAG_RD,
0, 0, sysctl_hw_availpages, "I", "");
static int
-sysctl_machdep_msgbuf SYSCTL_HANDLER_ARGS
+sysctl_machdep_msgbuf (SYSCTL_HANDLER_ARGS)
{
int error;
@@ -211,7 +211,7 @@ SYSCTL_PROC(_machdep, OID_AUTO, msgbuf, CTLTYPE_STRING|CTLFLAG_RD,
static int msgbuf_clear;
static int
-sysctl_machdep_msgbuf_clear SYSCTL_HANDLER_ARGS
+sysctl_machdep_msgbuf_clear (SYSCTL_HANDLER_ARGS)
{
int error;
error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2,
@@ -1078,7 +1078,7 @@ setregs(p, entry, stack, ps_strings)
}
static int
-sysctl_machdep_adjkerntz SYSCTL_HANDLER_ARGS
+sysctl_machdep_adjkerntz (SYSCTL_HANDLER_ARGS)
{
int error;
error = sysctl_handle_int(oidp, oidp->oid_arg1, oidp->oid_arg2,
diff --git a/sys/amd64/amd64/prof_machdep.c b/sys/amd64/amd64/prof_machdep.c
index d934ee5..1262fbe 100644
--- a/sys/amd64/amd64/prof_machdep.c
+++ b/sys/amd64/amd64/prof_machdep.c
@@ -232,7 +232,7 @@ cputime()
}
static int
-sysctl_machdep_cputime_clock SYSCTL_HANDLER_ARGS
+sysctl_machdep_cputime_clock (SYSCTL_HANDLER_ARGS)
{
int clock;
int error;
diff --git a/sys/amd64/amd64/tsc.c b/sys/amd64/amd64/tsc.c
index b75f775..4014284 100644
--- a/sys/amd64/amd64/tsc.c
+++ b/sys/amd64/amd64/tsc.c
@@ -1144,7 +1144,7 @@ setstatclockrate(int newhz)
}
static int
-sysctl_machdep_i8254_freq SYSCTL_HANDLER_ARGS
+sysctl_machdep_i8254_freq (SYSCTL_HANDLER_ARGS)
{
int error;
u_int freq;
@@ -1169,7 +1169,7 @@ SYSCTL_PROC(_machdep, OID_AUTO, i8254_freq, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_i8254_freq, "I", "");
static int
-sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS
+sysctl_machdep_tsc_freq (SYSCTL_HANDLER_ARGS)
{
int error;
u_int freq;
diff --git a/sys/amd64/isa/clock.c b/sys/amd64/isa/clock.c
index b75f775..4014284 100644
--- a/sys/amd64/isa/clock.c
+++ b/sys/amd64/isa/clock.c
@@ -1144,7 +1144,7 @@ setstatclockrate(int newhz)
}
static int
-sysctl_machdep_i8254_freq SYSCTL_HANDLER_ARGS
+sysctl_machdep_i8254_freq (SYSCTL_HANDLER_ARGS)
{
int error;
u_int freq;
@@ -1169,7 +1169,7 @@ SYSCTL_PROC(_machdep, OID_AUTO, i8254_freq, CTLTYPE_INT | CTLFLAG_RW,
0, sizeof(u_int), sysctl_machdep_i8254_freq, "I", "");
static int
-sysctl_machdep_tsc_freq SYSCTL_HANDLER_ARGS
+sysctl_machdep_tsc_freq (SYSCTL_HANDLER_ARGS)
{
int error;
u_int freq;
OpenPOWER on IntegriCloud