Update apply_surface prototype and definition

Default argument must be in prototype, not the definition