Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 23 Dec 2020 17:47:06 GMT
From:      Ryan Moeller <freqlabs@FreeBSD.org>
To:        src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org
Subject:   git: 401f82df4879 - sbin/sysctl: Style fix
Message-ID:  <202012231747.0BNHl6gZ058993@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by freqlabs:

URL: https://cgit.FreeBSD.org/src/commit/?id=401f82df4879236e082e2bfce4095692c3942122

commit 401f82df4879236e082e2bfce4095692c3942122
Author:     Ryan Moeller <freqlabs@FreeBSD.org>
AuthorDate: 2020-12-23 17:45:11 +0000
Commit:     Ryan Moeller <freqlabs@FreeBSD.org>
CommitDate: 2020-12-23 17:45:11 +0000

    sbin/sysctl: Style fix
    
    Remove parameter names from function prototype to match other
    prototypes in the file.
    
    Sponsored by:   iXsystems, Inc.
---
 sbin/sysctl/sysctl.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c
index adfe6c6d3b2c..bd1e357065dc 100644
--- a/sbin/sysctl/sysctl.c
+++ b/sbin/sysctl/sysctl.c
@@ -71,7 +71,7 @@ static int	oidfmt(int *, int, char *, u_int *);
 static int	parsefile(const char *);
 static int	parse(const char *, int);
 static int	show_var(int *, int, bool);
-static int	sysctl_all(int *oid, int len);
+static int	sysctl_all(int *, int);
 static int	name2oid(const char *, int *);
 
 static int	strIKtoi(const char *, char **, const char *);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202012231747.0BNHl6gZ058993>