Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/fs/msdosfs u_int8_t -> uint8_t



details:   https://anonhg.NetBSD.org/src/rev/5bbd85d31766
branches:  trunk
changeset: 343096:5bbd85d31766
user:      dholland <dholland%NetBSD.org@localhost>
date:      Fri Jan 22 22:48:18 2016 +0000

description:
u_int8_t -> uint8_t

diffstat:

 sys/fs/msdosfs/bootsect.h |  22 +++++++++++-----------
 1 files changed, 11 insertions(+), 11 deletions(-)

diffs (67 lines):

diff -r e99d9bb19c6e -r 5bbd85d31766 sys/fs/msdosfs/bootsect.h
--- a/sys/fs/msdosfs/bootsect.h Fri Jan 22 22:43:25 2016 +0000
+++ b/sys/fs/msdosfs/bootsect.h Fri Jan 22 22:48:18 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: bootsect.h,v 1.5 2012/11/04 17:57:59 jakllsch Exp $    */
+/*     $NetBSD: bootsect.h,v 1.6 2016/01/22 22:48:18 dholland Exp $    */
 
 /*
  * Written by Paul Popelka (paulp%uts.amdahl.com@localhost)
@@ -24,13 +24,13 @@
  * first sector of a partitioned hard disk.
  */
 struct bootsector33 {
-       u_int8_t        bsJump[3];              /* jump inst E9xxxx or EBxx90 */
+       uint8_t         bsJump[3];              /* jump inst E9xxxx or EBxx90 */
        int8_t          bsOemName[8];           /* OEM name and version */
        int8_t          bsBPB[19];              /* BIOS parameter block */
        int8_t          bsDriveNumber;          /* drive number (0x80) */
        int8_t          bsBootCode[479];        /* pad so struct is 512b */
-       u_int8_t        bsBootSectSig0;
-       u_int8_t        bsBootSectSig1;
+       uint8_t         bsBootSectSig0;
+       uint8_t         bsBootSectSig1;
 #define        BOOTSIG0        0x55
 #define        BOOTSIG1        0xaa
 };
@@ -46,25 +46,25 @@
 };
 
 struct bootsector50 {
-       u_int8_t        bsJump[3];              /* jump inst E9xxxx or EBxx90 */
+       uint8_t         bsJump[3];              /* jump inst E9xxxx or EBxx90 */
        int8_t          bsOemName[8];           /* OEM name and version */
        int8_t          bsBPB[25];              /* BIOS parameter block */
        int8_t          bsExt[26];              /* Bootsector Extension */
        int8_t          bsBootCode[448];        /* pad so structure is 512b */
-       u_int8_t        bsBootSectSig0;
-       u_int8_t        bsBootSectSig1;
+       uint8_t         bsBootSectSig0;
+       uint8_t         bsBootSectSig1;
 #define        BOOTSIG0        0x55
 #define        BOOTSIG1        0xaa
 };
 
 struct bootsector710 {
-       u_int8_t        bsJump[3];              /* jump inst E9xxxx or EBxx90 */
+       uint8_t         bsJump[3];              /* jump inst E9xxxx or EBxx90 */
        int8_t          bsOEMName[8];           /* OEM name and version */
        int8_t          bsBPB[53];              /* BIOS parameter block */
        int8_t          bsExt[26];              /* Bootsector Extension */
        int8_t          bsBootCode[420];        /* pad so structure is 512b */
-       u_int8_t        bsBootSectSig0;
-       u_int8_t        bsBootSectSig1;
+       uint8_t         bsBootSectSig0;
+       uint8_t         bsBootSectSig1;
 #define        BOOTSIG0        0x55
 #define        BOOTSIG1        0xaa
 };
@@ -76,7 +76,7 @@
  */
 #if 0
 struct bootsec_atari {
-       u_int8_t        bsBranch[2];            /* branch inst if auto-boot     */
+       uint8_t         bsBranch[2];            /* branch inst if auto-boot     */
        int8_t          bsFiller[6];            /* anything or nothing          */
        int8_t          bsSerial[3];            /* serial no. for mediachange   */
        int8_t          bsBPB[19];              /* BIOS parameter block         */



Home | Main Index | Thread Index | Old Index