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;
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to