Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 20 Aug 2017 09:42:09 +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: r322719 - head/sys/amd64/amd64
Message-ID:  <201708200942.v7K9g9N1032205@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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);



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201708200942.v7K9g9N1032205>