clean up calling conventions for pretty.c functions