Invalid C declaration warnings on macros with type hinted arguments

Builds fail with sphinx 3.2.1 see https://github.com/sphinx-doc/sphinx/issues/8379