* src/*.[ch]: mark a bunch of functions as pure. Probably doesn't help with optimization, but it might.