Skip to contentSkip to conversation

[6504] SH4: Fix warning when compiling sh7750_regnames.c

Qemu-devel Aurelien Jarno 1 participant 1 message Feb 3, 2009

lore
Share & tools
lore
#0 lore raw

Revision: 6504

          http://svn.sv.gnu.org/viewvc/?view=rev&root=qemu&revision=6504
Author:   aurel32
Date:     2009-02-03 19:55:35 +0000 (Tue, 03 Feb 2009)

Log Message:
-----------
SH4: Fix warning when compiling sh7750_regnames.c

This patch fixes a warning when compiling sh7750_regnames.c which is caused by sh7750_regnames.h (which contains the prototype of regname()) not being included.

Modified Paths:
--------------

    trunk/hw/sh7750_regnames.c

Modified: trunk/hw/sh7750_regnames.c
===================================================================

hw/sh7750_regnames.c +1 -0
@@ -1,6 +1,7 @@
 #include "hw.h"
 #include "sh.h"
 #include "sh7750_regs.h"
+#include "sh7750_regnames.h"
 
 #define REGNAME(r) {r, #r},