Revert " fix missing-prototypes warnings in torch_cpu (Part 5) (#101788)"
This reverts commit ac1cf00085b30eadd164ccf02e5208a59ec1b38b.
Reverted https://github.com/pytorch/pytorch/pull/101788 on behalf of https://github.com/izaitsevfb due to depends on #100849 which has to be reverted ([comment](https://github.com/pytorch/pytorch/pull/101788#issuecomment-1555097961))