Fixed implicit function declaration warnings.