gio.h: remove some dead declarations
splineutil2.c: rename a variable called 'bool' to 'flag'
Use proper stdbool.h booleans