The sheriff and guard shall be entitled to no other compensation than that which is allowed by this code.
T.C.A. § 40-25-112