Add ushort and ulong to linux/types.h.
When porting code once written for Linux we find not only uints but also ushort and ulong. Provide central typedefs as part of the linuxkpi for those as well. Reviewed by: hselasky, emaste MFC after: 3 days Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D19405
This commit is contained in:
parent
68a8109f87
commit
f1e0069068
@ -53,7 +53,9 @@ typedef uint32_t __be32;
|
||||
typedef uint64_t __le64;
|
||||
typedef uint64_t __be64;
|
||||
|
||||
typedef unsigned short ushort;
|
||||
typedef unsigned int uint;
|
||||
typedef unsigned long ulong;
|
||||
typedef unsigned gfp_t;
|
||||
typedef off_t loff_t;
|
||||
typedef vm_paddr_t resource_size_t;
|
||||
|
Loading…
Reference in New Issue
Block a user