Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 3 Apr 2018 06:46:26 +0000 (UTC)
From:      Andriy Gapon <avg@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r331908 - head/sys/x86/x86
Message-ID:  <201804030646.w336kQI5004257@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: avg
Date: Tue Apr  3 06:46:26 2018
New Revision: 331908
URL: https://svnweb.freebsd.org/changeset/base/331908

Log:
  fix signatures of cpu_reset_real and cpu_reset_proxy, broken in r331878
  
  When I moved these functions from i386 and amd64 to x86 I dropped their
  prototype declarations (that were correct) and left only their definitions
  that became incorrect.
  
  Reported by:	bde
  MFC after:	15 days
  X-MFC with:	r331878

Modified:
  head/sys/x86/x86/cpu_machdep.c

Modified: head/sys/x86/x86/cpu_machdep.c
==============================================================================
--- head/sys/x86/x86/cpu_machdep.c	Tue Apr  3 06:06:39 2018	(r331907)
+++ head/sys/x86/x86/cpu_machdep.c	Tue Apr  3 06:46:26 2018	(r331908)
@@ -251,7 +251,7 @@ cpu_halt(void)
 }
 
 static void
-cpu_reset_real()
+cpu_reset_real(void)
 {
 	struct region_descriptor null_idt;
 	int b;
@@ -324,7 +324,7 @@ cpu_reset_real()
 
 #ifdef SMP
 static void
-cpu_reset_proxy()
+cpu_reset_proxy(void)
 {
 
 	cpu_reset_proxy_active = 1;
@@ -338,7 +338,7 @@ cpu_reset_proxy()
 #endif
 
 void
-cpu_reset()
+cpu_reset(void)
 {
 #ifdef SMP
 	cpuset_t map;



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