mirror of
https://github.com/opnsense/src.git
synced 2026-06-08 16:22:46 -04:00
linux(4): Move dev_t type declaration under /compat/linux
As of version 2.6.0 of the Linux kernel, dev_t is a 32-bit unsigned integer on all platforms. Move it into the MI linux.h under /compat/linux.
This commit is contained in:
parent
e0bfe0d62c
commit
19973638be
5 changed files with 5 additions and 4 deletions
|
|
@ -54,7 +54,6 @@ typedef uint16_t l_ushort;
|
|||
typedef l_ulong l_uintptr_t;
|
||||
typedef l_long l_clock_t;
|
||||
typedef l_int l_daddr_t;
|
||||
typedef l_ulong l_dev_t;
|
||||
typedef l_uint l_gid_t;
|
||||
typedef l_ushort l_gid16_t;
|
||||
typedef l_uint l_uid_t;
|
||||
|
|
|
|||
|
|
@ -63,7 +63,6 @@ typedef unsigned short l_ushort;
|
|||
typedef l_ulong l_uintptr_t;
|
||||
typedef l_long l_clock_t;
|
||||
typedef l_int l_daddr_t;
|
||||
typedef l_ushort l_dev_t;
|
||||
typedef l_uint l_gid_t;
|
||||
typedef l_ushort l_gid16_t;
|
||||
typedef l_ulong l_ino_t;
|
||||
|
|
|
|||
|
|
@ -49,7 +49,6 @@ typedef uint16_t l_ushort;
|
|||
typedef l_ulong l_uintptr_t;
|
||||
typedef l_long l_clock_t;
|
||||
typedef l_int l_daddr_t;
|
||||
typedef l_ulong l_dev_t;
|
||||
typedef l_uint l_gid_t;
|
||||
typedef l_ushort l_gid16_t; /* XXX */
|
||||
typedef l_uint l_uid_t;
|
||||
|
|
|
|||
|
|
@ -28,6 +28,11 @@
|
|||
#ifndef _LINUX_MI_H_
|
||||
#define _LINUX_MI_H_
|
||||
|
||||
/*
|
||||
* Machine independent set of types for the Linux types.
|
||||
*/
|
||||
typedef uint32_t l_dev_t;
|
||||
|
||||
/*
|
||||
* Private Brandinfo flags
|
||||
*/
|
||||
|
|
|
|||
|
|
@ -55,7 +55,6 @@ typedef char *l_caddr_t;
|
|||
typedef l_ulong l_uintptr_t;
|
||||
typedef l_long l_clock_t;
|
||||
typedef l_int l_daddr_t;
|
||||
typedef l_ushort l_dev_t;
|
||||
typedef l_uint l_gid_t;
|
||||
typedef l_ushort l_gid16_t;
|
||||
typedef l_ulong l_ino_t;
|
||||
|
|
|
|||
Loading…
Reference in a new issue