Date: Thu, 5 Oct 2017 19:11:25 +0000 (UTC) From: Konstantin Belousov <kib@FreeBSD.org> To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org Subject: svn commit: r324334 - head/sys/i386/i386 Message-ID: <201710051911.v95JBP6F011998@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
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;
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201710051911.v95JBP6F011998>