Changeset 77118 in vbox for trunk/src/VBox/Runtime/common/string/utf-16-case.cpp
- Timestamp:
- Feb 1, 2019 2:47:32 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Runtime/common/string/utf-16-case.cpp
r76553 r77118 40 40 41 41 42 RTDECL(int) RTUtf16ICmp( register PCRTUTF16 pwsz1, registerPCRTUTF16 pwsz2)42 RTDECL(int) RTUtf16ICmp(PCRTUTF16 pwsz1, PCRTUTF16 pwsz2) 43 43 { 44 44 if (pwsz1 == pwsz2) … … 52 52 for (;;) 53 53 { 54 register RTUTF16wc1 = *pwsz1;55 register RTUTF16wc2 = *pwsz2;56 registerint iDiff = wc1 - wc2;54 RTUTF16 wc1 = *pwsz1; 55 RTUTF16 wc2 = *pwsz2; 56 int iDiff = wc1 - wc2; 57 57 if (iDiff) 58 58 { … … 107 107 108 108 109 RTDECL(int) RTUtf16BigICmp( register PCRTUTF16 pwsz1, registerPCRTUTF16 pwsz2)109 RTDECL(int) RTUtf16BigICmp(PCRTUTF16 pwsz1, PCRTUTF16 pwsz2) 110 110 { 111 111 if (pwsz1 == pwsz2) … … 119 119 for (;;) 120 120 { 121 register RTUTF16wc1 = *pwsz1;122 register RTUTF16wc2 = *pwsz2;123 registerint iDiff = wc1 - wc2;121 RTUTF16 wc1 = *pwsz1; 122 RTUTF16 wc2 = *pwsz2; 123 int iDiff = wc1 - wc2; 124 124 if (iDiff) 125 125 { … … 217 217 218 218 219 RTDECL(int) RTUtf16NICmp( register PCRTUTF16 pwsz1, registerPCRTUTF16 pwsz2, size_t cwcMax)219 RTDECL(int) RTUtf16NICmp(PCRTUTF16 pwsz1, PCRTUTF16 pwsz2, size_t cwcMax) 220 220 { 221 221 if (pwsz1 == pwsz2) … … 229 229 while (cwcMax-- > 0) 230 230 { 231 register RTUTF16wc1 = *pwsz1;232 register RTUTF16wc2 = *pwsz2;233 registerint iDiff = wc1 - wc2;231 RTUTF16 wc1 = *pwsz1; 232 RTUTF16 wc2 = *pwsz2; 233 int iDiff = wc1 - wc2; 234 234 if (iDiff) 235 235 { … … 290 290 291 291 292 RTDECL(int) RTUtf16BigNICmp( register PCRTUTF16 pwsz1, registerPCRTUTF16 pwsz2, size_t cwcMax)292 RTDECL(int) RTUtf16BigNICmp(PCRTUTF16 pwsz1, PCRTUTF16 pwsz2, size_t cwcMax) 293 293 { 294 294 if (pwsz1 == pwsz2) … … 302 302 while (cwcMax-- > 0) 303 303 { 304 register RTUTF16wc1 = *pwsz1;305 register RTUTF16wc2 = *pwsz2;306 registerint iDiff = wc1 - wc2;304 RTUTF16 wc1 = *pwsz1; 305 RTUTF16 wc2 = *pwsz2; 306 int iDiff = wc1 - wc2; 307 307 if (iDiff) 308 308 {
Note:
See TracChangeset
for help on using the changeset viewer.