Fix Warning for CBDateFromDateString function

It seems you forget to add extern for function CBDateFromDateString