From f9f39e697da532a56a06ec8f37566d7a0e8b6a34 Mon Sep 17 00:00:00 2001 From: jasper Date: Mon, 16 Jul 2018 17:05:15 +0000 Subject: [PATCH] use ANSI C function declaration; no binary change --- sbin/sysctl/sysctl.c | 16 +++------------- 1 file changed, 3 insertions(+), 13 deletions(-) diff --git a/sbin/sysctl/sysctl.c b/sbin/sysctl/sysctl.c index 98463345dd7..8c8b2525bb0 100644 --- a/sbin/sysctl/sysctl.c +++ b/sbin/sysctl/sysctl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: sysctl.c,v 1.232 2018/05/26 10:16:14 ratchov Exp $ */ +/* $OpenBSD: sysctl.c,v 1.233 2018/07/16 17:05:15 jasper Exp $ */ /* $NetBSD: sysctl.c,v 1.9 1995/09/30 07:12:50 thorpej Exp $ */ /* @@ -2308,12 +2308,7 @@ sysctl_pipex(char *string, char **bufpp, int mib[], int flags, int *typep) * Handle SysV semaphore info requests */ int -sysctl_seminfo(string, bufpp, mib, flags, typep) - char *string; - char **bufpp; - int mib[]; - int flags; - int *typep; +sysctl_seminfo(char *string, char **bufpp, int mib[], int flags, int *typep) { int indx; @@ -2332,12 +2327,7 @@ sysctl_seminfo(string, bufpp, mib, flags, typep) * Handle SysV shared memory info requests */ int -sysctl_shminfo(string, bufpp, mib, flags, typep) - char *string; - char **bufpp; - int mib[]; - int flags; - int *typep; +sysctl_shminfo(char *string, char **bufpp, int mib[], int flags, int *typep) { int indx; -- 2.20.1