name shadowing.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13069
dc483132-0cff-0310-8789-
dd5450dbe970
+2001-03-10 Ezra Peisach <epeisach@kangaroo.mit.edu>
+
+ * kdb_xdr.c: Change the variable index to idx to prevent function
+ name shadowing.
+
2000-11-01 Ezra Peisach <epeisach@mit.edu>
* configure.in: Use AC_CHECK_HEADERS instead of AC_HAVE_HEADERS.
krb5_int32 kvno;
krb5_key_data **kdatap;
{
- int i, index;
+ int i, idx;
int maxkvno;
krb5_key_data *datap;
if (kvno >= 0) {
if (kvno == dbentp->key_data[i].key_data_kvno) {
datap = &dbentp->key_data[i];
- index = i;
+ idx = i;
maxkvno = kvno;
break;
}
if (dbentp->key_data[i].key_data_kvno > maxkvno) {
maxkvno = dbentp->key_data[i].key_data_kvno;
datap = &dbentp->key_data[i];
- index = i;
+ idx = i;
}
}
}
if (maxkvno < 0)
return ENOENT;
*kdatap = datap;
- *start = index+1;
+ *start = idx+1;
return 0;
}