fixes #144 many cstyle/hdrchk warnings from make check in build log