qemu-devel.nongnu.org archive mirror
 help / color / mirror / Atom feed
* [Qemu-devel] [PATCH] Fix compilation error (missing include statement)
@ 2010-09-22 18:56 Stefan Weil
  2010-09-22 19:03 ` Anthony Liguori
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Weil @ 2010-09-22 18:56 UTC (permalink / raw)
  To: QEMU Developers; +Cc: Kevin Wolf, Christoph Hellwig

./hw/sd.c: In function ‘sd_init’:
./hw/sd.c:443: error: implicit declaration of function ‘qemu_blockalign’
./hw/sd.c:443: error: nested extern declaration of ‘qemu_blockalign’
./hw/sd.c:443: error: assignment makes pointer from integer without a cast

Cc: Christoph Hellwig <hch@lst.de>
Cc: Kevin Wolf <kwolf@redhat.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
---
 hw/sd.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/hw/sd.c b/hw/sd.c
index 4bcf1c0..601545b 100644
--- a/hw/sd.c
+++ b/hw/sd.c
@@ -31,6 +31,7 @@
 
 #include "hw.h"
 #include "block.h"
+#include "block_int.h"
 #include "sd.h"
 
 //#define DEBUG_SD 1
-- 
1.7.1

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

* Re: [Qemu-devel] [PATCH] Fix compilation error (missing include statement)
  2010-09-22 18:56 [Qemu-devel] [PATCH] Fix compilation error (missing include statement) Stefan Weil
@ 2010-09-22 19:03 ` Anthony Liguori
  0 siblings, 0 replies; 2+ messages in thread
From: Anthony Liguori @ 2010-09-22 19:03 UTC (permalink / raw)
  To: Stefan Weil; +Cc: Kevin Wolf, QEMU Developers, Christoph Hellwig

On 09/22/2010 01:56 PM, Stefan Weil wrote:
> ./hw/sd.c: In function ‘sd_init’:
> ./hw/sd.c:443: error: implicit declaration of function ‘qemu_blockalign’
> ./hw/sd.c:443: error: nested extern declaration of ‘qemu_blockalign’
> ./hw/sd.c:443: error: assignment makes pointer from integer without a cast
>
> Cc: Christoph Hellwig<hch@lst.de>
> Cc: Kevin Wolf<kwolf@redhat.com>
> Signed-off-by: Stefan Weil<weil@mail.berlios.de>
>    

Applied.  Thanks.

Regards,

Anthony Liguori

> ---
>   hw/sd.c |    1 +
>   1 files changed, 1 insertions(+), 0 deletions(-)
>
> diff --git a/hw/sd.c b/hw/sd.c
> index 4bcf1c0..601545b 100644
> --- a/hw/sd.c
> +++ b/hw/sd.c
> @@ -31,6 +31,7 @@
>
>   #include "hw.h"
>   #include "block.h"
> +#include "block_int.h"
>   #include "sd.h"
>
>   //#define DEBUG_SD 1
>    

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

end of thread, other threads:[~2010-09-22 19:03 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-09-22 18:56 [Qemu-devel] [PATCH] Fix compilation error (missing include statement) Stefan Weil
2010-09-22 19:03 ` Anthony Liguori

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).