fixed warnings about prototype.