Re: CVS commit: xsrc/external/mit/libpciaccess/dist/src

2012-11-04 Thread Alan Barrett
On Fri, 02 Nov 2012, David Young wrote: Modified Files: xsrc/external/mit/libpciaccess/dist/src: common_interface.c Log Message: Remove useless extra const in const sometype const * var = value;. Foundusing clang -Wduplicate-decl-specifier. Maybe 'const sometype * const var' was

Re: CVS commit: xsrc/external/mit/libpciaccess/dist/src

2012-11-04 Thread David Laight
On Sun, Nov 04, 2012 at 08:44:01AM +0200, Alan Barrett wrote: On Fri, 02 Nov 2012, David Young wrote: Modified Files: xsrc/external/mit/libpciaccess/dist/src: common_interface.c Log Message: Remove useless extra const in const sometype const * var = value;. Foundusing clang

Re: CVS commit: xsrc/external/mit/libpciaccess/dist/src

2012-11-04 Thread Matt Thomas
On Nov 4, 2012, at 2:26 AM, David Laight wrote: Personally I almost never mark variables 'const', the only I initialise in their declarations (at the top of a function) are probably almost always never chaned (well maybe execpt default error values). Personally, I always mark variable as

Re: CVS commit: src/sys/arch/sparc/sparc

2012-11-04 Thread Chuck Silvers
On Sun, Nov 04, 2012 at 01:35:04PM +1100, matthew green wrote: Module Name:src Committed By: chs Date: Sun Nov 4 00:32:47 UTC 2012 Modified Files: src/sys/arch/sparc/sparc: locore.s pmap.c Log Message: in cpu_switchto(), remove the MP-unsafe