From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:34030) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XW5WR-0000Ha-La for qemu-devel@nongnu.org; Mon, 22 Sep 2014 11:27:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XW5WM-000697-Es for qemu-devel@nongnu.org; Mon, 22 Sep 2014 11:27:27 -0400 Received: from mx1.redhat.com ([209.132.183.28]:7749) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XW5WM-00068B-8N for qemu-devel@nongnu.org; Mon, 22 Sep 2014 11:27:22 -0400 From: Gerd Hoffmann Date: Mon, 22 Sep 2014 16:44:56 +0200 Message-Id: <1411397096-31566-9-git-send-email-kraxel@redhat.com> In-Reply-To: <1411397096-31566-1-git-send-email-kraxel@redhat.com> References: <1411397096-31566-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH 8/8] 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 --- 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 9ad8ce4..9132e92 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