aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/_types.h
diff options
context:
space:
mode:
authorAlan Somers <asomers@FreeBSD.org>2019-06-21 21:50:14 +0000
committerAlan Somers <asomers@FreeBSD.org>2019-06-21 21:50:14 +0000
commit1bb957296b3677de64b46de7832136b6bb5a2654 (patch)
tree4fa4d787b67710c9015237d101b1a549b7835c3c /sys/sys/_types.h
parentdb2114b4b885d490c84416af27ec50add8a354fd (diff)
downloadsrc-1bb957296b3677de64b46de7832136b6bb5a2654.tar.gz
src-1bb957296b3677de64b46de7832136b6bb5a2654.zip
Reduce namespace pollution from r349233
Define __daddr_t in _types.h and use it in filio.h Reported by: ian, bde Reviewed by: ian, imp, cem MFC after: 2 weeks MFC-With: 349233 Sponsored by: The FreeBSD Foundation Differential Revision: https://reviews.freebsd.org/D20715
Notes
Notes: svn path=/head/; revision=349280
Diffstat (limited to 'sys/sys/_types.h')
-rw-r--r--sys/sys/_types.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/_types.h b/sys/sys/_types.h
index 22a37c53389a..020ba025ea98 100644
--- a/sys/sys/_types.h
+++ b/sys/sys/_types.h
@@ -68,6 +68,7 @@ typedef unsigned int __useconds_t; /* microseconds (unsigned) */
typedef int __cpuwhich_t; /* which parameter for cpuset. */
typedef int __cpulevel_t; /* level parameter for cpuset. */
typedef int __cpusetid_t; /* cpuset identifier. */
+typedef __int64_t __daddr_t; /* bwrite(3), FIOBMAP2, etc */
/*
* Unusual type definitions.