Removed some warnings
Included sawlog. Added -std=gnu99 to C cmd-line.