ia64/xen-unstable

changeset 9254:14bfb2eb9505

Fix build error with -Wstrict-prototype.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Tue Mar 14 15:36:40 2006 +0100 (2006-03-14)
parents 47c562fd342a
children 1c24ee05f8f3
files tools/misc/cpuperf/cpuperf_xeno.h
line diff
     1.1 --- a/tools/misc/cpuperf/cpuperf_xeno.h	Tue Mar 14 15:33:57 2006 +0100
     1.2 +++ b/tools/misc/cpuperf/cpuperf_xeno.h	Tue Mar 14 15:36:40 2006 +0100
     1.3 @@ -13,7 +13,7 @@
     1.4  
     1.5  static int xc_handle;
     1.6  
     1.7 -void xen_init()
     1.8 +void xen_init(void)
     1.9  {
    1.10      if ( (xc_handle = xc_interface_open()) == -1 )
    1.11      {
    1.12 @@ -24,12 +24,12 @@ void xen_init()
    1.13  
    1.14  }
    1.15  
    1.16 -void dom0_wrmsr( int cpu_mask, int msr, unsigned int low, unsigned int high )
    1.17 +void dom0_wrmsr(int cpu_mask, int msr, unsigned int low, unsigned int high)
    1.18  {
    1.19      xc_msr_write (xc_handle, cpu_mask, msr, low, high);
    1.20  }
    1.21  
    1.22 -unsigned long long dom0_rdmsr( int cpu_mask, int msr )
    1.23 +unsigned long long dom0_rdmsr(int cpu_mask, int msr)
    1.24  {
    1.25      return xc_msr_read(xc_handle, cpu_mask, msr);
    1.26  }