Assume __STDC__, remove non-__STDC__ code. Add $FreeBSD$.
Assume __STDC__, remove non-__STDC__ code.
Add $FreeBSD$.

Submitted by: keramida

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