WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] Fix build error with -Wstrict-prototype.

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] Fix build error with -Wstrict-prototype.
From: Xen patchbot -unstable <patchbot-unstable@xxxxxxxxxxxxxxxxxxx>
Date: Tue, 14 Mar 2006 17:14:12 +0000
Delivery-date: Tue, 14 Mar 2006 17:15:28 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID 14bfb2eb950508e2a45aeb31cc164704632cd5e5
# Parent  47c562fd342a578fe62d784fbd955e82e2947264
Fix build error with -Wstrict-prototype.

Signed-off-by: Keir Fraser <keir@xxxxxxxxxxxxx>

diff -r 47c562fd342a -r 14bfb2eb9505 tools/misc/cpuperf/cpuperf_xeno.h
--- a/tools/misc/cpuperf/cpuperf_xeno.h Tue Mar 14 14:33:57 2006
+++ b/tools/misc/cpuperf/cpuperf_xeno.h Tue Mar 14 14:36:40 2006
@@ -13,7 +13,7 @@
 
 static int xc_handle;
 
-void xen_init()
+void xen_init(void)
 {
     if ( (xc_handle = xc_interface_open()) == -1 )
     {
@@ -24,12 +24,12 @@
 
 }
 
-void dom0_wrmsr( int cpu_mask, int msr, unsigned int low, unsigned int high )
+void dom0_wrmsr(int cpu_mask, int msr, unsigned int low, unsigned int high)
 {
     xc_msr_write (xc_handle, cpu_mask, msr, low, high);
 }
 
-unsigned long long dom0_rdmsr( int cpu_mask, int msr )
+unsigned long long dom0_rdmsr(int cpu_mask, int msr)
 {
     return xc_msr_read(xc_handle, cpu_mask, msr);
 }

_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-changelog] Fix build error with -Wstrict-prototype., Xen patchbot -unstable <=