Added prototyped functions
Added some definitions for already prototyped functions