I have a function(this is exactly how it appears, from the top of my file):
You're probably including the file functions.php more than once.