Is it possible that you are including another functions.php from perhaps 'include_path' dir?
Use this to investigate which files had been really included:
var_dump(get_included_files());
especially that your 'require' is not using 'inc' subdirectory
require 'functions.php';
require 'inc/functions.php';