suspect you have a whitespace in your functions file
Whitespace before <?php when “functions.php line 1″ mentioned
If the message says the error is in line 1, then it is typically leading whitespace, text or HTML before the opening <?php marker.
eg
<?php
not
<?php