In conjunction with Memo's answer (and a non-dictionary version), funk is also a colloquialism for stink, or a stench.
e.g. "This milk smells funky" or "There's a funk coming from your feet".
An heir's somebody who inherits something from another person. A prince, for example, would be an "heir" to his father's throne.