Steve Dobbelstein
2006-Feb-16 21:47 UTC
[Xen-devel] [PATCH] CS 8857 won''t build with gcc 4
Another build break with gcc 4. gcc 4 complains: mpparse.c:56: error: static declaration of ?mp_current_pci_id? follows non-static declaration /usr/src/xen/xen-unstable.hg-8857/xen/include/asm/mpspec.h:26: error: previous declaration of ?mp_current_pci_id? was here make[2]: *** [mpparse.o] Error 1 This patch removes the declaration of extern mp_current_pci_id from xen/include/asm/mpspec.h. All .c files that use mp_current_pci_id declare it static, so it is not needed in the header file. Signed-off-by: Steve Dobbelstein <steved@us.ibm.com> (See attached file: 8857-build-fix.patch) _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel