Skip to contentSkip to conversation

Fix warning when compiling sh7750_regnames.c

PATCH Applied Stuart Brady 2 participants 2 messages Feb 1, 2009 – Feb 3, 2009

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 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.

sh7750_regnames.c +1 -0
Index: hw/sh7750_regnames.c
===================================================================
@@ -1,6 +1,7 @@
 #include "hw.h"
 #include "sh.h"
 #include "sh7750_regs.h"
+#include "sh7750_regnames.h"
 
 #define REGNAME(r) {r, #r},
 
Signature · 1 line
Stuart Brady
#1 lore raw
Quoted 5 lines · Stuart Brady

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.

Thanks, applied.

Quoted 17 lines

Index: hw/sh7750_regnames.c
===================================================================

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},
 
Signature · 1 line
Stuart Brady
Signature · 2 lines
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
[email protected]                 http://www.aurel32.net