diff options
author | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2016-02-01 19:58:45 +0000 |
---|---|---|
committer | Jeremie Courreges-Anglas <jca@cvs.openbsd.org> | 2016-02-01 19:58:45 +0000 |
commit | 9397e24ce503c6dcfd0504847127ac48de6caa40 (patch) | |
tree | aca4243e0112a58f2d08a519d2a39a3d475cb935 | |
parent | 5e92382d78a53c36e8dca4315927abbc11a2c0b6 (diff) |
ansify; ok sthen@ kettenis@
-rw-r--r-- | lib/libarch/i386/i386_get_ioperm.c | 5 | ||||
-rw-r--r-- | lib/libarch/i386/i386_get_ldt.c | 5 | ||||
-rw-r--r-- | lib/libarch/i386/i386_iopl.c | 5 | ||||
-rw-r--r-- | lib/libarch/i386/i386_set_ioperm.c | 5 | ||||
-rw-r--r-- | lib/libarch/i386/i386_set_ldt.c | 5 | ||||
-rw-r--r-- | lib/libarch/i386/i386_vm86.c | 5 |
6 files changed, 10 insertions, 20 deletions
diff --git a/lib/libarch/i386/i386_get_ioperm.c b/lib/libarch/i386/i386_get_ioperm.c index 63adc582722..790672b18c4 100644 --- a/lib/libarch/i386/i386_get_ioperm.c +++ b/lib/libarch/i386/i386_get_ioperm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i386_get_ioperm.c,v 1.7 2014/11/15 02:23:28 tedu Exp $ */ +/* $OpenBSD: i386_get_ioperm.c,v 1.8 2016/02/01 19:58:44 jca Exp $ */ /* $NetBSD: i386_get_ioperm.c,v 1.2 1996/02/27 22:57:22 jtc Exp $ */ /*- @@ -36,8 +36,7 @@ #include <machine/sysarch.h> int -i386_get_ioperm(iomap) - u_long *iomap; +i386_get_ioperm(u_long *iomap) { struct i386_get_ioperm_args p; diff --git a/lib/libarch/i386/i386_get_ldt.c b/lib/libarch/i386/i386_get_ldt.c index 3492f3ef680..649bcf8eb48 100644 --- a/lib/libarch/i386/i386_get_ldt.c +++ b/lib/libarch/i386/i386_get_ldt.c @@ -33,10 +33,7 @@ #include <machine/sysarch.h> int -i386_get_ldt(start, desc, num) - int start; - union descriptor *desc; - int num; +i386_get_ldt(int start, union descriptor *desc, int num) { struct i386_get_ldt_args p; diff --git a/lib/libarch/i386/i386_iopl.c b/lib/libarch/i386/i386_iopl.c index 115f520ef8d..b7fb0de8429 100644 --- a/lib/libarch/i386/i386_iopl.c +++ b/lib/libarch/i386/i386_iopl.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i386_iopl.c,v 1.7 2014/11/15 02:23:28 tedu Exp $ */ +/* $OpenBSD: i386_iopl.c,v 1.8 2016/02/01 19:58:44 jca Exp $ */ /* $NetBSD: i386_iopl.c,v 1.2 1996/02/27 22:57:29 jtc Exp $ */ /*- @@ -36,8 +36,7 @@ #include <machine/sysarch.h> int -i386_iopl(iopl) - int iopl; +i386_iopl(int iopl) { struct i386_iopl_args p; diff --git a/lib/libarch/i386/i386_set_ioperm.c b/lib/libarch/i386/i386_set_ioperm.c index 66719813d3d..6f477c90ef1 100644 --- a/lib/libarch/i386/i386_set_ioperm.c +++ b/lib/libarch/i386/i386_set_ioperm.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i386_set_ioperm.c,v 1.7 2014/11/15 02:23:28 tedu Exp $ */ +/* $OpenBSD: i386_set_ioperm.c,v 1.8 2016/02/01 19:58:44 jca Exp $ */ /* $NetBSD: i386_set_ioperm.c,v 1.2 1996/02/27 22:57:31 jtc Exp $ */ /*- @@ -36,8 +36,7 @@ #include <machine/sysarch.h> int -i386_set_ioperm(iomap) - u_long *iomap; +i386_set_ioperm(u_long *iomap) { struct i386_set_ioperm_args p; diff --git a/lib/libarch/i386/i386_set_ldt.c b/lib/libarch/i386/i386_set_ldt.c index 5cc2736df7b..08fef8c08a7 100644 --- a/lib/libarch/i386/i386_set_ldt.c +++ b/lib/libarch/i386/i386_set_ldt.c @@ -33,10 +33,7 @@ #include <machine/sysarch.h> int -i386_set_ldt(start, desc, num) - int start; - union descriptor *desc; - int num; +i386_set_ldt(int start, union descriptor *desc, int num) { struct i386_set_ldt_args p; diff --git a/lib/libarch/i386/i386_vm86.c b/lib/libarch/i386/i386_vm86.c index ebf1276f9b9..23f5d708340 100644 --- a/lib/libarch/i386/i386_vm86.c +++ b/lib/libarch/i386/i386_vm86.c @@ -1,4 +1,4 @@ -/* $OpenBSD: i386_vm86.c,v 1.6 2014/11/15 02:23:28 tedu Exp $ */ +/* $OpenBSD: i386_vm86.c,v 1.7 2016/02/01 19:58:44 jca Exp $ */ /* $NetBSD: i386_vm86.c,v 1.1 1996/02/21 00:21:56 jtk Exp $ */ /*- @@ -37,8 +37,7 @@ #include <machine/vm86.h> int -i386_vm86(vmcp) - register struct vm86_struct *vmcp; +i386_vm86(struct vm86_struct *vmcp) { return sysarch(I386_VM86, vmcp); |