Use ANSI C declaration for amd64_get_ldt().

Reviewed by:	bde
Sponsored by:	The FreeBSD Foundation
MFC after:	1 week
This commit is contained in:
Konstantin Belousov 2017-10-05 12:07:38 +00:00
parent 83d55c8ac2
commit 98af67c78e

View File

@ -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;