add const, fix warning: cook.c:276: warning: passing argument 2 of 'maybe_reformat_bu...