diff options
author | phk <phk@FreeBSD.org> | 2000-07-04 11:25:35 +0000 |
---|---|---|
committer | phk <phk@FreeBSD.org> | 2000-07-04 11:25:35 +0000 |
commit | e5de271d472634538e30a52ae173ebe1213162fd (patch) | |
tree | a8ec5eb96610f0059453eefc245a1c07a6bb853f /sys/kern/kern_sysctl.c | |
parent | 1624e20f39888e846831b8a8457c919d0cfa54c9 (diff) | |
download | FreeBSD-src-e5de271d472634538e30a52ae173ebe1213162fd.zip FreeBSD-src-e5de271d472634538e30a52ae173ebe1213162fd.tar.gz |
Previous commit changing SYSCTL_HANDLER_ARGS violated KNF.
Pointed out by: bde
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r-- | sys/kern/kern_sysctl.c | 22 |
1 files changed, 11 insertions, 11 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c index 1ff0218..807d4ae 100644 --- a/sys/kern/kern_sysctl.c +++ b/sys/kern/kern_sysctl.c @@ -63,7 +63,7 @@ static struct sysctl_lock { int sl_locked; } memlock; -static int sysctl_root (SYSCTL_HANDLER_ARGS); +static int sysctl_root(SYSCTL_HANDLER_ARGS); struct sysctl_oid_list sysctl__children; /* root list */ @@ -203,7 +203,7 @@ sysctl_sysctl_debug_dump_node(struct sysctl_oid_list *l, int i) } static int -sysctl_sysctl_debug (SYSCTL_HANDLER_ARGS) +sysctl_sysctl_debug(SYSCTL_HANDLER_ARGS) { sysctl_sysctl_debug_dump_node(&sysctl__children, 0); return ENOENT; @@ -213,7 +213,7 @@ SYSCTL_PROC(_sysctl, 0, debug, CTLTYPE_STRING|CTLFLAG_RD, 0, 0, sysctl_sysctl_debug, "-", ""); static int -sysctl_sysctl_name (SYSCTL_HANDLER_ARGS) +sysctl_sysctl_name(SYSCTL_HANDLER_ARGS) { int *name = (int *) arg1; u_int namelen = arg2; @@ -323,7 +323,7 @@ sysctl_sysctl_next_ls (struct sysctl_oid_list *lsp, int *name, u_int namelen, } static int -sysctl_sysctl_next (SYSCTL_HANDLER_ARGS) +sysctl_sysctl_next(SYSCTL_HANDLER_ARGS) { int *name = (int *) arg1; u_int namelen = arg2; @@ -399,7 +399,7 @@ name2oid (char *name, int *oid, int *len, struct sysctl_oid **oidpp) } static int -sysctl_sysctl_name2oid (SYSCTL_HANDLER_ARGS) +sysctl_sysctl_name2oid(SYSCTL_HANDLER_ARGS) { char *p; int error, oid[CTL_MAXNAME], len; @@ -435,7 +435,7 @@ SYSCTL_PROC(_sysctl, 3, name2oid, CTLFLAG_RW|CTLFLAG_ANYBODY, 0, 0, sysctl_sysctl_name2oid, "I", ""); static int -sysctl_sysctl_oidfmt (SYSCTL_HANDLER_ARGS) +sysctl_sysctl_oidfmt(SYSCTL_HANDLER_ARGS) { struct sysctl_oid *oid; int error; @@ -468,7 +468,7 @@ SYSCTL_NODE(_sysctl, 4, oidfmt, CTLFLAG_RD, sysctl_sysctl_oidfmt, ""); */ int -sysctl_handle_int (SYSCTL_HANDLER_ARGS) +sysctl_handle_int(SYSCTL_HANDLER_ARGS) { int error = 0; @@ -492,7 +492,7 @@ sysctl_handle_int (SYSCTL_HANDLER_ARGS) */ int -sysctl_handle_long (SYSCTL_HANDLER_ARGS) +sysctl_handle_long(SYSCTL_HANDLER_ARGS) { int error = 0; @@ -515,7 +515,7 @@ sysctl_handle_long (SYSCTL_HANDLER_ARGS) */ int -sysctl_handle_string (SYSCTL_HANDLER_ARGS) +sysctl_handle_string(SYSCTL_HANDLER_ARGS) { int error=0; @@ -541,7 +541,7 @@ sysctl_handle_string (SYSCTL_HANDLER_ARGS) */ int -sysctl_handle_opaque (SYSCTL_HANDLER_ARGS) +sysctl_handle_opaque(SYSCTL_HANDLER_ARGS) { int error; @@ -736,7 +736,7 @@ sysctl_find_oid(int *name, u_int namelen, struct sysctl_oid **noid, */ int -sysctl_root (SYSCTL_HANDLER_ARGS) +sysctl_root(SYSCTL_HANDLER_ARGS) { struct sysctl_oid *oid; int error, indx; |