From: Kenn H. <ke...@us...> - 2005-04-20 18:59:11
|
Update of /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv18584/arch/vax/kernel Modified Files: cpu_ka43.c Log Message: GCC 4.1 complains about the extern declaration of ka43_mctype[] in ka43.h followed by the static definition in cpu_ka43.c. Nothing else uses it, so remove the declaration from ka43.h and define MC43_MAX in cpu_ka43.c. Index: cpu_ka43.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/arch/vax/kernel/cpu_ka43.c,v retrieving revision 1.20 retrieving revision 1.21 diff -u -d -r1.20 -r1.21 --- cpu_ka43.c 2 Oct 2004 11:42:46 -0000 1.20 +++ cpu_ka43.c 20 Apr 2005 18:59:02 -0000 1.21 @@ -41,6 +41,7 @@ static volatile unsigned int *ka43_ctag_addr; static volatile unsigned int *ka43_creg_addr; +#define MC43_MAX 19 static char *ka43_mctype[MC43_MAX + 1] = { "no error (0)", /* Code 0: No error */ |