[tor-commits] [tor/master] Constify some functions.