Fix mismatched declaration and definition.