add patch remove-unused-function-prototype