X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/a01113dcd0f39d5da295ef82785beff9ed86fe38..HEAD:/icuSources/extra/scrptrun/srtest.cpp diff --git a/icuSources/extra/scrptrun/srtest.cpp b/icuSources/extra/scrptrun/srtest.cpp index 5792071f..8d59fb9e 100644 --- a/icuSources/extra/scrptrun/srtest.cpp +++ b/icuSources/extra/scrptrun/srtest.cpp @@ -27,9 +27,9 @@ UChar testChars[] = { int32_t testLength = UPRV_LENGTHOF(testChars); -void main() +int main() { - ScriptRun scriptRun(testChars, 0, testLength); + icu::ScriptRun scriptRun(testChars, 0, testLength); while (scriptRun.next()) { int32_t start = scriptRun.getScriptStart(); @@ -38,4 +38,5 @@ void main() printf("Script '%s' from %d to %d.\n", uscript_getName(code), start, end); } + return 0; }