From: Ian Jackson Subject: Re: [PATCH] ioemu: improve colordepth negociation Date: Tue, 4 Mar 2008 11:38:44 +0000 Message-ID: <18381.13508.634642.12390@mariner.uk.xensource.com> References: <20080303173525.GB4923@implementation.uk.xensource.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20080303173525.GB4923@implementation.uk.xensource.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Samuel Thibault Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Samuel Thibault writes ("[Xen-devel] [PATCH] ioemu: improve colordepth negociation"): > +static vga_draw_line_func *vga_draw_line_table[NB_DEPTHS * VGA_DRAW_LINE_NB] = { > + vga_draw_line2_8, > + vga_draw_line2_16, > + vga_draw_line2_16, > + vga_draw_line2_32, > + vga_draw_line2_32, ... > -static vga_draw_line_func *vga_draw_line_table[NB_DEPTHS * VGA_DRAW_LINE_NB] = { > - vga_draw_line2_8, > - vga_draw_line2_16, > - vga_draw_line2_16, > - vga_draw_line2_32, > - vga_draw_line2_32, Could I suggest that it would be a good idea to avoid enormous code rearrangements like this in ioemu ? That's only going to make the ongoing merge situation with qemu worse. If you were moving this up the file so that you could refer to it later, you could provide a forward declaration. Ian.