Since the attempted fix for the warning about has_color() being implicitly declared introduced a worse problem of conflicting declaration in cases where it's already declared, back that change out.
Since the attempted fix for the warning about has_color() being implicitly declared introduced a worse problem of conflicting declaration in cases where it's already declared, back that change out.