diff options
-rw-r--r-- | sys/sys/blist.h | 2 | ||||
-rw-r--r-- | sys/sys/types.h | 1 |
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_ |