qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix warning when compiling sh7750_regnames.c
@ 2009-02-01 12:06 Stuart Brady
  2009-02-03 19:58 ` Aurelien Jarno
  0 siblings, 1 reply; 2+ messages in thread
From: Stuart Brady @ 2009-02-01 12:06 UTC (permalink / raw)
  To: qemu-devel

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: Stuart Brady <stuart.brady@gmail.com>

Index: hw/sh7750_regnames.c
===================================================================
--- hw/sh7750_regnames.c	(revision 6489)
+++ hw/sh7750_regnames.c	(working copy)
@@ -1,6 +1,7 @@
 #include "hw.h"
 #include "sh.h"
 #include "sh7750_regs.h"
+#include "sh7750_regnames.h"
 
 #define REGNAME(r) {r, #r},
 
-- 
Stuart Brady

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Qemu-devel] [PATCH] Fix warning when compiling sh7750_regnames.c
  2009-02-01 12:06 [Qemu-devel] [PATCH] Fix warning when compiling sh7750_regnames.c Stuart Brady
@ 2009-02-03 19:58 ` Aurelien Jarno
  0 siblings, 0 replies; 2+ messages in thread
From: Aurelien Jarno @ 2009-02-03 19:58 UTC (permalink / raw)
  To: Stuart Brady; +Cc: qemu-devel

On Sun, Feb 01, 2009 at 12:06:57PM +0000, Stuart Brady wrote:
> 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: Stuart Brady <stuart.brady@gmail.com>

Thanks, applied.

> Index: hw/sh7750_regnames.c
> ===================================================================
> --- hw/sh7750_regnames.c	(revision 6489)
> +++ hw/sh7750_regnames.c	(working copy)
> @@ -1,6 +1,7 @@
>  #include "hw.h"
>  #include "sh.h"
>  #include "sh7750_regs.h"
> +#include "sh7750_regnames.h"
>  
>  #define REGNAME(r) {r, #r},
>  
> -- 
> Stuart Brady
> 
> 
> 

-- 
Aurelien Jarno	                        GPG: 1024D/F1BCDB73
aurelien@aurel32.net                 http://www.aurel32.net

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2009-02-03 19:58 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-01 12:06 [Qemu-devel] [PATCH] Fix warning when compiling sh7750_regnames.c Stuart Brady
2009-02-03 19:58 ` Aurelien Jarno

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).