Fixed declaration and definition mismatch