: fix declaration after statement
PATCH 4/5 : fix declaration after statement
ISO C90 forbids mixed declarations and code. ioemu is compiled with -Wdeclaration-after-statement, so this produces a warning. Moved the declerations to the beginning of a new block.
Signature · 9 lines
Andre Przywara AMD-Operating System Research Center (OSRC), Dresden, Germany Tel: +49 351 277-84917 ----to satisfy European Law for business letters: AMD Saxony Limited Liability Company & Co. KG, Wilschdorfer Landstr. 101, 01109 Dresden, Germany Register Court Dresden: HRA 4896, General Partner authorized to represent: AMD Saxony LLC (Wilmington, Delaware, US) General Manager of AMD Saxony LLC: Dr. Hans-R. Deppe, Thomas McCoy
tools/ioemu/hw/es1370.c +2 -1
@@ -516,9 +516,10 @@ IO_WRITE_PROTO (es1370_writew)IO_WRITE_PROTO (es1370_writew) {ES1370State *s = opaque; - addr =es1370_fixup (s, addr);uint32_t shift, mask;struct chan *d = &s->chan[0 ]; + + addr =es1370_fixup (s, addr);switch (addr) {case ES1370_REG_CODEC :
tools/ioemu/hw/rtl8139.c +105 -58
410 lines not on this page · raw message
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel