git: 401f82df4879 - sbin/sysctl: Style fix

Ryan Moeller freqlabs at FreeBSD.org
Wed Dec 23 17:47:07 UTC 2020


The branch main has been updated by freqlabs:

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

commit 401f82df4879236e082e2bfce4095692c3942122
Author:     Ryan Moeller <freqlabs at FreeBSD.org>
AuthorDate: 2020-12-23 17:45:11 +0000
Commit:     Ryan Moeller <freqlabs at 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 *);


More information about the dev-commits-src-all mailing list