-/********************************************************************
+/*************************************************************************
+ * © 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
{
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: