svn commit: r324334 - head/sys/i386/i386
Konstantin Belousov
kib at FreeBSD.org
Thu Oct 5 19:11:26 UTC 2017
Author: kib
Date: Thu Oct 5 19:11:25 2017
New Revision: 324334
URL: https://svnweb.freebsd.org/changeset/base/324334
Log:
Use ANSI C declarations.
Reviewed by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/i386/i386/sys_machdep.c
Modified: head/sys/i386/i386/sys_machdep.c
==============================================================================
--- head/sys/i386/i386/sys_machdep.c Thu Oct 5 19:03:50 2017 (r324333)
+++ head/sys/i386/i386/sys_machdep.c Thu Oct 5 19:11:25 2017 (r324334)
@@ -502,9 +502,7 @@ user_ldt_deref(struct proc_ldt *pldt)
* the OS-specific one.
*/
int
-i386_get_ldt(td, uap)
- struct thread *td;
- struct i386_ldt_args *uap;
+i386_get_ldt(struct thread *td, struct i386_ldt_args *uap)
{
int error = 0;
struct proc_ldt *pldt;
@@ -542,10 +540,8 @@ i386_get_ldt(td, uap)
}
int
-i386_set_ldt(td, uap, descs)
- struct thread *td;
- struct i386_ldt_args *uap;
- union descriptor *descs;
+i386_set_ldt(struct thread *td, struct i386_ldt_args *uap,
+ union descriptor *descs)
{
int error, i;
int largest_ld;
More information about the svn-src-all
mailing list