set | awk '/[[:alnum:]_]+ \(\)/ {exit} {print}'
set shows variables first, so I am looking for the first function with regexp which looks like "^funcname ()"