Skip to contentSkip to conversation

Fix OpenBSD build

Qemu-devel Kevin Wolf 2 participants 2 messages May 5, 2010 – May 6, 2010

lore
Share & tools
lore

Kevin Wolf

author
#0 lore raw

Hi Blue Swirl,

did I miss the patch posted for this commit? I can't find it on the mailing list. I think the BlockDriver declarations should really stay at the end of the source file of each driver.

What about using a different way to get rid of the static forward declaration, namely using bdrv_find_format() instead of referencing it directly? If you agree I'll post patches to revert your change and use this solution instead.

Kevin

#1 lore raw
Quoted 10 lines · Kevin Wolf

Hi Blue Swirl,

did I miss the patch posted for this commit? I can't find it on the mailing list. I think the BlockDriver declarations should really stay at the end of the source file of each driver.

What about using a different way to get rid of the static forward declaration, namely using bdrv_find_format() instead of referencing it directly? If you agree I'll post patches to revert your change and use this solution instead.

Somehow I can't form in my mind the change from your description, but I'd be fine with that too if it also compiles in OpenBSD.