X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/08b89b0a244153b9f5bbb2f49c55ab0f7298122e..b331163bffd790ced0e88b73f44f86d49ccc48a5:/icuSources/tools/toolutil/pkg_icu.cpp diff --git a/icuSources/tools/toolutil/pkg_icu.cpp b/icuSources/tools/toolutil/pkg_icu.cpp index e543220a..c2f39048 100644 --- a/icuSources/tools/toolutil/pkg_icu.cpp +++ b/icuSources/tools/toolutil/pkg_icu.cpp @@ -1,5 +1,5 @@ /****************************************************************************** - * Copyright (C) 2008-2013, International Business Machines + * Copyright (C) 2008-2014, International Business Machines * Corporation and others. All Rights Reserved. ******************************************************************************* */ @@ -16,9 +16,6 @@ #include #include - -#define LENGTHOF(array) (int32_t)(sizeof(array)/sizeof((array)[0])) - // read a file list -------------------------------------------------------- *** U_NAMESPACE_USE @@ -38,7 +35,7 @@ isListTextFile(const char *listname) { const char *listNameEnd=strchr(listname, 0); const char *suffix; int32_t i, length; - for(i=0; ilength && 0==memcmp(listNameEnd-length, suffix, length)) {