/*
- * Copyright (c) 2000 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2006 Apple Computer, Inc. All rights reserved.
*
* @APPLE_OSREFERENCE_LICENSE_HEADER_START@
*
int
scanc(u_int size, u_char *cp, const u_char table[], int mask0)
{
- register u_char *end;
- register u_char mask;
+ u_char *end;
+ u_char mask;
mask = mask0;
- for (end = &cp[size]; cp < end && (table[*cp] & mask) == 0; ++cp);
+ for (end = &cp[size]; cp != end && (table[*cp] & mask) == 0; ++cp);
return (end - cp);
}