From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:48190) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYXJH-0000Q7-Iq for qemu-devel@nongnu.org; Mon, 29 Sep 2014 05:32:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XYXJA-0007je-LJ for qemu-devel@nongnu.org; Mon, 29 Sep 2014 05:31:59 -0400 Received: from mx1.redhat.com ([209.132.183.28]:42898) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XYXJA-0007iG-Dc for qemu-devel@nongnu.org; Mon, 29 Sep 2014 05:31:52 -0400 From: Gerd Hoffmann Date: Mon, 29 Sep 2014 11:31:09 +0200 Message-Id: <1411983073-13058-9-git-send-email-kraxel@redhat.com> In-Reply-To: <1411983073-13058-1-git-send-email-kraxel@redhat.com> References: <1411983073-13058-1-git-send-email-kraxel@redhat.com> Subject: [Qemu-devel] [PATCH v2 08/11] 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 , David Gibson 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