Changeset 68669 in vbox for trunk/include
- Timestamp:
- Sep 6, 2017 12:32:34 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/scsiinline.h
r65112 r68669 15 15 * hope that it will be useful, but WITHOUT ANY WARRANTY of any kind. 16 16 */ 17 17 18 #ifndef ___VBox_scsiinline_h 18 19 #define ___VBox_scsiinline_h … … 186 187 DECLINLINE(void) scsiPadStr(uint8_t *pbDst, const char *pbSrc, uint32_t cbSize) 187 188 { 188 for (uint32_t i = 0; i < cbSize; i++) 189 uint32_t i; 190 for (i = 0; i < cbSize; i++) 189 191 { 190 192 if (*pbSrc) … … 207 209 DECLINLINE(void) scsiPadStrS(int8_t *pbDst, const char *pbSrc, uint32_t cbSize) 208 210 { 209 for (uint32_t i = 0; i < cbSize; i++) 211 uint32_t i; 212 for (i = 0; i < cbSize; i++) 210 213 { 211 214 if (*pbSrc) … … 218 221 /** @} */ 219 222 220 #endif /* ___VBox_scsiinline_h */221 223 #endif 224
Note:
See TracChangeset
for help on using the changeset viewer.