summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2002-05-18 09:38:20 +0000
committerphk <phk@FreeBSD.org>2002-05-18 09:38:20 +0000
commit9c842945722f72ec4babac50f2726e81ebbe3bcc (patch)
treedc68bd719bd603b1cf7545d42c8d6b2052992284
parentc506e4337e7269736ca3ec86b136db3a69fddc6e (diff)
downloadFreeBSD-src-9c842945722f72ec4babac50f2726e81ebbe3bcc.zip
FreeBSD-src-9c842945722f72ec4babac50f2726e81ebbe3bcc.tar.gz
Move the hideously misnamed type "u_daddr_t" to <sys/blist.h> where it
belongs. Sponsored by: DARPA & NAI Labs.
-rw-r--r--sys/sys/blist.h2
-rw-r--r--sys/sys/types.h1
2 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/blist.h b/sys/sys/blist.h
index cb52a6a..fa4be7e 100644
--- a/sys/sys/blist.h
+++ b/sys/sys/blist.h
@@ -30,6 +30,8 @@
#ifndef _SYS_BLIST_H_
#define _SYS_BLIST_H_
+typedef u_int32_t u_daddr_t; /* unsigned disk address */
+
static __inline int
LOG2(u_daddr_t v)
{
diff --git a/sys/sys/types.h b/sys/sys/types.h
index 6ff98b7..8ebf00b 100644
--- a/sys/sys/types.h
+++ b/sys/sys/types.h
@@ -127,7 +127,6 @@ typedef char * caddr_t; /* core address */
typedef __const char * c_caddr_t; /* core address, pointer to const */
typedef __volatile char *v_caddr_t; /* core address, pointer to volatile */
typedef int32_t daddr_t; /* disk address */
-typedef u_int32_t u_daddr_t; /* unsigned disk address */
typedef u_int32_t fixpt_t; /* fixed point number */
#ifdef _BSD_GID_T_
OpenPOWER on IntegriCloud