From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36359) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZb4B-0004Bv-2A for qemu-devel@nongnu.org; Thu, 02 Oct 2014 03:44:51 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XZb46-0008Hj-8W for qemu-devel@nongnu.org; Thu, 02 Oct 2014 03:44:46 -0400 Received: from mx1.redhat.com ([209.132.183.28]:41657) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XZb46-0008HM-1t for qemu-devel@nongnu.org; Thu, 02 Oct 2014 03:44:42 -0400 From: Gerd Hoffmann Date: Thu, 2 Oct 2014 09:44:31 +0200 Message-Id: <1412235873-19202-9-git-send-email-kraxel@redhat.com> In-Reply-To: <1412235873-19202-1-git-send-email-kraxel@redhat.com> References: <1412235873-19202-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PULL 08/10] vga: Rename vga_template.h to vga-helpers.h List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: Gerd Hoffmann From: Benjamin Herrenschmidt It's no longer a template, we only instanciate the file once. Keep it a #included file so the functions remain static. Signed-off-by: Benjamin Herrenschmidt Signed-off-by: Gerd Hoffmann Reviewed-by: David Gibson --- hw/display/{vga_template.h => vga-helpers.h} | 0 hw/display/vga.c | 2 +- 2 files changed, 1 insertion(+), 1 deletion(-) rename hw/display/{vga_template.h => vga-helpers.h} (100%) diff --git a/hw/display/vga_template.h b/hw/display/vga-helpers.h similarity index 100% rename from hw/display/vga_template.h rename to hw/display/vga-helpers.h diff --git a/hw/display/vga.c b/hw/display/vga.c index 21aa2c6..9f60f88 100644 --- a/hw/display/vga.c +++ b/hw/display/vga.c @@ -1007,7 +1007,7 @@ void vga_mem_writeb(VGACommonState *s, hwaddr addr, uint32_t val) typedef void vga_draw_line_func(VGACommonState *s1, uint8_t *d, const uint8_t *s, int width); -#include "vga_template.h" +#include "vga-helpers.h" /* return true if the palette was modified */ static int update_palette16(VGACommonState *s) -- 1.8.3.1