Fix incompatible declaration