summaryrefslogtreecommitdiffstats
path: root/sys/sys/stat.h
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
committerphk <phk@FreeBSD.org>2004-06-16 09:47:26 +0000
commitdfd1f7fd50fffaf75541921fcf86454cd8eb3614 (patch)
tree624c885995e84df6decddd3291c60a15e50e3c85 /sys/sys/stat.h
parentcafb94bcea1cdf048e81b7eb2d24808e1a8c5280 (diff)
downloadFreeBSD-src-dfd1f7fd50fffaf75541921fcf86454cd8eb3614.zip
FreeBSD-src-dfd1f7fd50fffaf75541921fcf86454cd8eb3614.tar.gz
Do the dreaded s/dev_t/struct cdev */
Bump __FreeBSD_version accordingly.
Diffstat (limited to 'sys/sys/stat.h')
-rw-r--r--sys/sys/stat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/sys/sys/stat.h b/sys/sys/stat.h
index c4376da..0f7f4a3 100644
--- a/sys/sys/stat.h
+++ b/sys/sys/stat.h
@@ -44,7 +44,9 @@
/* XXX missing blkcnt_t, blksize_t. */
#ifndef _DEV_T_DECLARED
+#ifndef _KERNEL
typedef __dev_t dev_t;
+#endif
#define _DEV_T_DECLARED
#endif
OpenPOWER on IntegriCloud