Resolved gcc implicit function declaration warnings