Another update of fstapi.c from GTKWave to fix compile warnings.