1. `NULL` -> `nullptr`. 2. Cast `void *` to `T *` by using `static_cast`. 3. Using `LISTBASE_FOREACH` instead of manual for-loops. 4. `UNUSED` -> `/* ... */` 5. `#include <....h>` -> `#include <...>` See #103343 Pull Request: https://projects.blender.org/blender/blender/pulls/108484