ICU-22864 Move main() out of the ICU namespace.

This commit is contained in:
Fredrik Roubert 2024-08-16 19:30:59 +02:00 committed by Fredrik Roubert
parent 1c312f7caa
commit ed117b9957

View file

@ -78,8 +78,11 @@ static UOption options[]={
UOPTION_DEF("fast", '\1', UOPT_NO_ARG)
};
extern "C" int
U_NAMESPACE_END
int
main(int argc, char* argv[]) {
U_NAMESPACE_USE
U_MAIN_INIT_ARGS(argc, argv);
/* preset then read command line options */
@ -228,6 +231,8 @@ main(int argc, char* argv[]) {
#endif
}
U_NAMESPACE_BEGIN
#if !UCONFIG_NO_NORMALIZATION
void parseFile(std::ifstream &f, Normalizer2DataBuilder &builder) {