fabric: fix the prototype of fi_tsearch