[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-changelog] Declare inline function as 'static inline', not 'extern inline'.



# HG changeset patch
# User kaf24@xxxxxxxxxxxxxxxxxxxx
# Node ID b8640cd55fd7c761012b5da101f0e77e190d4c62
# Parent  98a6f5ae7b1ffcd284e077f6d1439cb4e9adf2f2
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@xxxxxxxxxxxxx>

diff -r 98a6f5ae7b1f -r b8640cd55fd7 tools/ioemu/hw/vga.c
--- a/tools/ioemu/hw/vga.c      Fri Mar 17 10:03:37 2006
+++ b/tools/ioemu/hw/vga.c      Fri Mar 17 09:57:28 2006
@@ -1340,7 +1340,7 @@
     }
 }
 
-extern inline int cmp_vram(VGAState *s, int offset, int n)
+static inline int cmp_vram(VGAState *s, int offset, int n)
 {
     long *vp, *sp;
 

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


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.