Modified some code to use standard C scoping rules for variable declarations, rather than the more liberal C++ rules used by gcc (even in their C compiler).
Modified some code to use standard C scoping rules for variable declarations, rather than the more liberal C++ rules used by gcc (even in their C compiler).

git-svn-id: 9e9401559e51101c165cdce4d49b411eb20436ed@4272 3d70eeeb-363e-0410-a505-8a46323a89f2

BRAINSia/teem,Slicer/teem,Slicer/teem,BRAINSia/teem,Slicer/teem,BRAINSia/teem,Slicer/teem,BRAINSia/teem,BRAINSia/teem,Slicer/teem