aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authorPoul-Henning Kamp <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
committerPoul-Henning Kamp <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
commit89c9c53da05197f657dfe8e0bdda6941a2e9a0d4 (patch)
tree624c885995e84df6decddd3291c60a15e50e3c85 /sys/sys/_types.h
parentd420fcda27350a7e2d3d8f3b2c9de6aa74df2e30 (diff)
downloadsrc-89c9c53da05197f657dfe8e0bdda6941a2e9a0d4.tar.gz
src-89c9c53da05197f657dfe8e0bdda6941a2e9a0d4.zip
Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.
Notes
Notes: svn path=/head/; revision=130585
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r--sys/sys/_types.h7
1 files changed, 1 insertions, 6 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index f233c7005e9d..478fd419543d 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -80,12 +80,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) */
-/*
- * dev_t has differing meanings in userland and the kernel.
- */
-#ifdef _KERNEL
-typedef struct cdev *__dev_t;
-#else
+#ifndef _KERNEL
typedef __udev_t __dev_t; /* device number */
#endif