X-Git-Url: https://git.saurik.com/apple/icu.git/blobdiff_plain/b75a7d8f3b4adbae880cab104ce2c6a50eee4db2..HEAD:/icuSources/samples/strsrch/strsrch.cpp diff --git a/icuSources/samples/strsrch/strsrch.cpp b/icuSources/samples/strsrch/strsrch.cpp index 99b01fe7..2478712b 100644 --- a/icuSources/samples/strsrch/strsrch.cpp +++ b/icuSources/samples/strsrch/strsrch.cpp @@ -1,8 +1,13 @@ -/******************************************************************** +/************************************************************************* + * © 2016 and later: Unicode, Inc. and others. + * License & terms of use: http://www.unicode.org/copyright.html#License + * + ************************************************************************* + ************************************************************************* * COPYRIGHT: - * Copyright (C) 2002-2003 IBM, Inc. All Rights Reserved. + * Copyright (C) 2002-2006 IBM, Inc. All Rights Reserved. * - ********************************************************************/ + *************************************************************************/ /** * This program demos string collation @@ -97,7 +102,8 @@ UBool processOptions(int argc, const char **argv, OptSpec opts[]) { for (int argNum = 1; argNum < argc; argNum ++) { const char *pArgName = argv[argNum]; - for (OptSpec *pOpt = opts; pOpt->name != 0; pOpt ++) { + OptSpec *pOpt; + for (pOpt = opts; pOpt->name != 0; pOpt ++) { if (strcmp(pOpt->name, pArgName) == 0) { switch (pOpt->type) { case OptSpec::FLAG: