qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Qemu-devel] Re: [PATCH 5/9] Move qemu_gettimeofday() to OS specific fil


From: Blue Swirl
Subject: [Qemu-devel] Re: [PATCH 5/9] Move qemu_gettimeofday() to OS specific files
Date: Sat, 16 Oct 2010 19:32:50 +0000

On Sat, Oct 16, 2010 at 4:04 PM,  <address@hidden> wrote:
> From: Jes Sorensen <address@hidden>
>
> In addition add sysemu.h includes to file requiring a prototype for
> ffs()

There are probably a lot more files which would need that:
/src/qemu/hw/sd.c: In function 'sd_normal_command':
/src/qemu/hw/sd.c:738:13: error: implicit declaration of function
'ffs' [-Werror=implicit-function-declaration]
/src/qemu/hw/max7310.c: In function 'max7310_tx':
/src/qemu/hw/max7310.c:94:13: error: implicit declaration of function
'ffs' [-Werror=implicit-function-declaration]
/src/qemu/hw/unin_pci.c: In function 'unin_get_config_reg':
/src/qemu/hw/unin_pci.c:101:9: error: implicit declaration of function
'ffs' [-Werror=implicit-function-declaration]

Perhaps the prototype should be added someplace else.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]