As long as the items of struct GeanyBuildCommand shall only be used in build.c
Yes, but then they shouldn't be in `filetypesprivate.h` at all. Without checking I presume something uses them via these pointers, or they should be removed totally. And if the pointers are being used then the definitions are needed.