GEOS
GEOS copied to clipboard
Mark all functions declared in a cpp file static.
All functions declared in a .cpp file should be static. This tells the compiler that they are only ever called from that cpp file and therefore if it can tell that it's not used we'll get warnings. This will help us remove dead code.
And remove static from functions defined in a header.
https://stackoverflow.com/questions/780730/c-c-static-function-in-header-file-what-does-it-mean