Print this page
Cstyle cleanup
@@ -2734,24 +2734,28 @@
#if defined(_BIG_ENDIAN)
for (t = first + 1; t != last; t++, e++) {
if (!is_xdigit(t[0]))
return (first);
- unsigned d1 = isdigit_l(t[0], db->cpp_loc) ? t[0] - '0' : t[0] - 'a' + 10;
+ unsigned d1 = isdigit_l(t[0], db->cpp_loc) ?
+ t[0] - '0' : t[0] - 'a' + 10;
t++;
- unsigned d0 = isdigit_l(t[0], db->cpp_loc) ? t[0] - '0' : t[0] - 'a' + 10;
+ unsigned d0 = isdigit_l(t[0], db->cpp_loc) ?
+ t[0] - '0' : t[0] - 'a' + 10;
*e = (d1 << 4) + d0;
}
#elif defined(_LITTLE_ENDIAN)
for (t = last - 1; t > first; t--, e++) {
if (!is_xdigit(t[0]))
return (first);
- unsigned d0 = isdigit_l(t[0], db->cpp_loc) ? t[0] - '0' : t[0] - 'a' + 10;
+ unsigned d0 = isdigit_l(t[0], db->cpp_loc) ?
+ t[0] - '0' : t[0] - 'a' + 10;
t--;
- unsigned d1 = isdigit_l(t[0], db->cpp_loc) ? t[0] - '0' : t[0] - 'a' + 10;
+ unsigned d1 = isdigit_l(t[0], db->cpp_loc) ?
+ t[0] - '0' : t[0] - 'a' + 10;
*e = (d1 << 4) + d0;
}
t = last;
#else