WARNS=6 and gcc4 cleanup: 	- Use const where necessary 	- Use __unused where applicable 	- Rename variables that is conflicit with global definations
WARNS=6 and gcc4 cleanup:
	- Use const where necessary
	- Use __unused where applicable
	- Rename variables that is conflicit with global definations

jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase,jrobhoward/SCADAbase