applied some general bandaids to the types and pointer declarations

Signed-off-by: Robert J. Ennis <rje@sdf.org>