direct-io.hg

changeset 9263:b8640cd55fd7

Declare inline function as 'static inline', not 'extern inline'.
Fixes the ioemu build which was broken on some systems.

Signed-off-by: Keir Fraser <keir@xensource.com>
author kaf24@firebug.cl.cam.ac.uk
date Fri Mar 17 10:57:28 2006 +0100 (2006-03-17)
parents 98a6f5ae7b1f
children 03d7b5b2c212
files tools/ioemu/hw/vga.c
line diff
     1.1 --- a/tools/ioemu/hw/vga.c	Fri Mar 17 10:03:37 2006 +0000
     1.2 +++ b/tools/ioemu/hw/vga.c	Fri Mar 17 10:57:28 2006 +0100
     1.3 @@ -1340,7 +1340,7 @@ void vga_invalidate_scanlines(VGAState *
     1.4      }
     1.5  }
     1.6  
     1.7 -extern inline int cmp_vram(VGAState *s, int offset, int n)
     1.8 +static inline int cmp_vram(VGAState *s, int offset, int n)
     1.9  {
    1.10      long *vp, *sp;
    1.11