SH4: Fix warning when compiling sh7750_regnames.c
authoraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 3 Feb 2009 19:55:35 +0000 (19:55 +0000)
committeraurel32 <aurel32@c046a42c-6fe2-441c-8c8c-71466251a162>
Tue, 3 Feb 2009 19:55:35 +0000 (19:55 +0000)
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.

Signed-off-by: Aurelien Jarno <aurelien@aurel32.net>

git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6504 c046a42c-6fe2-441c-8c8c-71466251a162

hw/sh7750_regnames.c

index 51283c9..3ee5c7f 100644 (file)
@@ -1,6 +1,7 @@
 #include "hw.h"
 #include "sh.h"
 #include "sh7750_regs.h"
+#include "sh7750_regnames.h"
 
 #define REGNAME(r) {r, #r},