summaryrefslogtreecommitdiffstats
path: root/sys/kern/kern_sysctl.c
diff options
context:
space:
mode:
authorroam <roam@FreeBSD.org>2001-07-25 17:13:58 +0000
committerroam <roam@FreeBSD.org>2001-07-25 17:13:58 +0000
commit3e1e624da70d565919479419c126fc463ee9f0d0 (patch)
treee37788abdeba165d81cad6199d23d94d3c87dd3a /sys/kern/kern_sysctl.c
parent1eb9c3ef3151d761ebcb6b365ec2c4e126ec31ef (diff)
downloadFreeBSD-src-3e1e624da70d565919479419c126fc463ee9f0d0.zip
FreeBSD-src-3e1e624da70d565919479419c126fc463ee9f0d0.tar.gz
Style(9): function names on a separate line, max line length 80 chars.
Reviewed by: -arch, -audit MFC after: 2 weeks
Diffstat (limited to 'sys/kern/kern_sysctl.c')
-rw-r--r--sys/kern/kern_sysctl.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/kern/kern_sysctl.c b/sys/kern/kern_sysctl.c
index b852565..0b4c3d4 100644
--- a/sys/kern/kern_sysctl.c
+++ b/sys/kern/kern_sysctl.c
@@ -87,7 +87,8 @@ sysctl_find_oidname(const char *name, struct sysctl_oid_list *list)
* Order by number in each list.
*/
-void sysctl_register_oid(struct sysctl_oid *oidp)
+void
+sysctl_register_oid(struct sysctl_oid *oidp)
{
struct sysctl_oid_list *parent = oidp->oid_parent;
struct sysctl_oid *p;
@@ -135,7 +136,8 @@ void sysctl_register_oid(struct sysctl_oid *oidp)
SLIST_INSERT_HEAD(parent, oidp, oid_link);
}
-void sysctl_unregister_oid(struct sysctl_oid *oidp)
+void
+sysctl_unregister_oid(struct sysctl_oid *oidp)
{
SLIST_REMOVE(oidp->oid_parent, oidp, sysctl_oid, oid_link);
}
@@ -371,7 +373,8 @@ sysctl_add_oid(struct sysctl_ctx_list *clist, struct sysctl_oid_list *parent,
*/
SET_DECLARE(sysctl_set, struct sysctl_oid);
-static void sysctl_register_all(void *arg)
+static void
+sysctl_register_all(void *arg)
{
struct sysctl_oid **oidp;
@@ -1084,7 +1087,8 @@ __sysctl(struct proc *p, struct sysctl_args *uap)
* must be in kernel space.
*/
int
-userland_sysctl(struct proc *p, int *name, u_int namelen, void *old, size_t *oldlenp, int inkernel, void *new, size_t newlen, size_t *retval)
+userland_sysctl(struct proc *p, int *name, u_int namelen, void *old,
+ size_t *oldlenp, int inkernel, void *new, size_t newlen, size_t *retval)
{
int error = 0;
struct sysctl_req req, req2;
OpenPOWER on IntegriCloud