diff options
author | 2018-07-16 17:05:15 +0000 | |
---|---|---|
committer | 2018-07-16 17:05:15 +0000 | |
commit | f9f39e697da532a56a06ec8f37566d7a0e8b6a34 (patch) | |
tree | 8c62fbe8499ce2433a15851123b9d76db0487373 | |
parent | use 'switch' rathan than an if-else construct to match on the netflow version to in pflow_get_mbuf(), (diff) | |
download | wireguard-openbsd-f9f39e697da532a56a06ec8f37566d7a0e8b6a34.tar.xz wireguard-openbsd-f9f39e697da532a56a06ec8f37566d7a0e8b6a34.zip |
use ANSI C function declaration; no binary change
-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; |