Hi, >... >> What would be nice would be to make libxen not throw away provided CFLAGS >> and, if it's not too far gone down the declaration-after-statement route, >> fix it to put its declarations at the top of blocks like a good C program. >> If that's a big job though it's probably not worth the bother. Attached the patch to fix this. I left out the changes to the Makefile, as Keir objected because of the missing gcc-3.3 compatibility (which I can confirm). When I inserted -Wdeclaration-after-statement into my Makefile, everything compiled smoothly without any warnings. I included Ian's prototype fix, too. Signed-off-by: Andre Przywara Regards, Andre. -- 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