diff options
author | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2018-07-16 17:05:16 +0000 |
---|---|---|
committer | Jasper Lievisse Adriaanse <jasper@cvs.openbsd.org> | 2018-07-16 17:05:16 +0000 |
commit | 59a1d24b00b3cdac9c10197495d901b8d5b49fa5 (patch) | |
tree | bb3aa25c889424b7f9085adbe66bd77bb4792d1d /sbin | |
parent | bb2a8cf933994209bf0fa1ae7cf45ce23f54a9a8 (diff) |
use ANSI C function declaration; no binary change
Diffstat (limited to 'sbin')
-rw-r--r-- | sbin/sysctl/sysctl.c | 16 |
1 files 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; |