Merge branch 'clang_compiler' into 'master'
Small changes for clang compatibility I have made some minor changes (mostly to space.c) so that the code now compiles out of the box with the clang compiler. The main change is the removal of nested functions in space.c. They have been replaced by static functions. See merge request !32 Former-commit-id: 2cd4eaf9f37f79fa04271b6dec78c8be321d5262