take an old C codebase, and fix all the const problems in it