Declare functions and variables static and save a few byte.  This is a style(9)-change, too.  Separate commit as it changes the object.
Declare functions and variables static and save a few byte.  This is a
style(9)-change, too.  Separate commit as it changes the object.

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