It might mean you have a ; after the declaration of the function and also the prototype. Check that. Also make sure you have a prototype if you don't becuase if other functions call it they may not know about it. the prototype will let them know about it.