next C compiler cleanup
use bool type where appropriate
add const to character pointer it has sense
reformat source code