[tor-commits] [tor/master] Add support for mocking functions declared with attributes without causing gcc warnings