svn commit: r322719 - head/sys/amd64/amd64

Konstantin Belousov kib at FreeBSD.org
Sun Aug 20 09:42:10 UTC 2017


Author: kib
Date: Sun Aug 20 09:42:09 2017
New Revision: 322719
URL: https://svnweb.freebsd.org/changeset/base/322719

Log:
  Trim excessive 'extern' and remove unused declaration.
  
  Reviewed by:	bde
  Tested by:	pho
  Sponsored by:	The FreeBSD Foundation
  MFC after:	1 week

Modified:
  head/sys/amd64/amd64/trap.c

Modified: head/sys/amd64/amd64/trap.c
==============================================================================
--- head/sys/amd64/amd64/trap.c	Sun Aug 20 09:39:10 2017	(r322718)
+++ head/sys/amd64/amd64/trap.c	Sun Aug 20 09:42:09 2017	(r322719)
@@ -99,9 +99,8 @@ PMC_SOFT_DEFINE( , , page_fault, write);
 #include <sys/dtrace_bsd.h>
 #endif
 
-extern void __noinline trap(struct trapframe *frame);
-extern void trap_check(struct trapframe *frame);
-extern void syscall(struct trapframe *frame);
+void __noinline trap(struct trapframe *frame);
+void trap_check(struct trapframe *frame);
 void dblfault_handler(struct trapframe *frame);
 
 static int trap_pfault(struct trapframe *, int);


More information about the svn-src-all mailing list