diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-08-07 19:59:28 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-08-07 19:59:28 -0400 |
commit | ae0b9da48c91087c5ab78e4918deb69665d0ccc6 (patch) | |
tree | 2fe04198a91402d0ef117b4e6b977ffa9412e39b /arch/mips | |
parent | ff02f94e2d3a1e96ffc1918abd06e09ddd11fd06 (diff) | |
download | musl-ae0b9da48c91087c5ab78e4918deb69665d0ccc6.tar.gz musl-ae0b9da48c91087c5ab78e4918deb69665d0ccc6.tar.bz2 musl-ae0b9da48c91087c5ab78e4918deb69665d0ccc6.tar.xz musl-ae0b9da48c91087c5ab78e4918deb69665d0ccc6.zip |
further fixes for mips ioctl.h header
untested; hopefully it's right now
Diffstat (limited to 'arch/mips')
-rw-r--r-- | arch/mips/bits/ioctl.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arch/mips/bits/ioctl.h b/arch/mips/bits/ioctl.h index 3d60c1a9..5040226c 100644 --- a/arch/mips/bits/ioctl.h +++ b/arch/mips/bits/ioctl.h @@ -3,10 +3,10 @@ #define _IOC_READ 2U #define _IOC_WRITE 4U -#define _IO(a,b) _IOC(_IOC_NONE,(a),(b),0) -#define _IOW(a,b,c) _IOC(1,(a),(b),sizeof(c)) -#define _IOR(a,b,c) _IOC(2,(a),(b),sizeof(c)) -#define _IOWR(a,b,c) _IOC(4,(a),(b),sizeof(c)) +#define _IO(a,b) _IOC(1U,(a),(b),0) +#define _IOW(a,b,c) _IOC(4U,(a),(b),sizeof(c)) +#define _IOR(a,b,c) _IOC(2U,(a),(b),sizeof(c)) +#define _IOWR(a,b,c) _IOC(6U,(a),(b),sizeof(c)) #define TCGETA 0x5401 #define TCSETA 0x5402 |