I think however instead of this quick fix (which is quite usable for anyone coming across this issue), I will change it in a more robust manner for inclusion in the source repository.
I intend to move the data from the header into the .c file and then create and use an accessor function for where data is used in a few places elsewhere.
i.e. it's not good practice to put data in the header and is not done anywhere else in Viking.
This appears to be quite straight-forward.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you for posting this.
I think however instead of this quick fix (which is quite usable for anyone coming across this issue), I will change it in a more robust manner for inclusion in the source repository.
I intend to move the data from the header into the .c file and then create and use an accessor function for where data is used in a few places elsewhere.
i.e. it's not good practice to put data in the header and is not done anywhere else in Viking.
This appears to be quite straight-forward.
The fuller fix has been applied in commit: 7883ec0d1d752b1afc1a9a488228711f30657fcf