Added intern.h
Made some changes to io.c based on splint errors
included intern.h in some of the files