I am trying to write my code using the Linux kernel coding style as the guide. In this guide there are clear indications about when to use "typedef" and when to not use them, but it only references structures or pointers: https://www.kernel.org/doc/html/v4.10/process/coding-style.html
Will these rules apply for unions or enums, for example? If yes, for the same reasons or different ones?
I found this question which doesn't quite answer my question in the general sense: When to use typedef?
I apologize if this question is not suitable for this site. If that is tha case can you please direct me to where I might ask this?