aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-17 17:16:53 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-17 17:16:53 +0000
commitf3732fd15b5a493a090a0453f937a78949c65f7d (patch)
treefe8b297144afd6d6f7db41275c72cb5eb663ec02 /sys/sys/_types.h
parentc0d431fe315475c5fe50084db455416148d57914 (diff)
downloadsrc-f3732fd15b5a493a090a0453f937a78949c65f7d.tar.gz
src-f3732fd15b5a493a090a0453f937a78949c65f7d.zip
Second half of the dev_t cleanup.
The big lines are: NODEV -> NULL NOUDEV -> NODEV udev_t -> dev_t udev2dev() -> findcdev() Various minor adjustments including handling of userland access to kernel space struct cdev etc.
Notes
Notes: svn path=/head/; revision=130640
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r--sys/sys/_types.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index 478fd419543d..0b3467d266ed 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -53,7 +53,6 @@ typedef __uint8_t __sa_family_t;
typedef __uint32_t __socklen_t;
typedef long __suseconds_t; /* microseconds (signed) */
typedef __int32_t __timer_t; /* timer_gettime()... */
-typedef __uint32_t __udev_t; /* device number */
typedef __uint32_t __uid_t;
typedef unsigned int __useconds_t; /* microseconds (unsigned) */
@@ -80,9 +79,7 @@ typedef __ct_rune_t __rune_t; /* rune_t (see above) */
typedef __ct_rune_t __wchar_t; /* wchar_t (see above) */
typedef __ct_rune_t __wint_t; /* wint_t (see above) */
-#ifndef _KERNEL
-typedef __udev_t __dev_t; /* device number */
-#endif
+typedef __uint32_t __dev_t; /* device number */
typedef __uint32_t __fixpt_t; /* fixed point number */