svn commit: r324306 - head/sys/amd64/amd64
Konstantin Belousov
kib at FreeBSD.org
Thu Oct 5 12:07:39 UTC 2017
Author: kib
Date: Thu Oct 5 12:07:38 2017
New Revision: 324306
URL: https://svnweb.freebsd.org/changeset/base/324306
Log:
Use ANSI C declaration for amd64_get_ldt().
Reviewed by: bde
Sponsored by: The FreeBSD Foundation
MFC after: 1 week
Modified:
head/sys/amd64/amd64/sys_machdep.c
Modified: head/sys/amd64/amd64/sys_machdep.c
==============================================================================
--- head/sys/amd64/amd64/sys_machdep.c Thu Oct 5 12:01:39 2017 (r324305)
+++ head/sys/amd64/amd64/sys_machdep.c Thu Oct 5 12:07:38 2017 (r324306)
@@ -548,9 +548,7 @@ user_ldt_deref(struct proc_ldt *pldt)
* the OS-specific one.
*/
int
-amd64_get_ldt(td, uap)
- struct thread *td;
- struct i386_ldt_args *uap;
+amd64_get_ldt(struct thread *td, struct i386_ldt_args *uap)
{
int error = 0;
struct proc_ldt *pldt;
More information about the svn-src-all
mailing list