Fixes unnamed function

Just fixes (what I believe to be) a small typo; the link function `linkFunc` wasn't defined otherwise.