diff options
author | dillon <dillon@FreeBSD.org> | 1999-01-27 19:01:44 +0000 |
---|---|---|
committer | dillon <dillon@FreeBSD.org> | 1999-01-27 19:01:44 +0000 |
commit | 96b1d528f05e5a2f958fdd0ef631ce0cca9f5c21 (patch) | |
tree | 7abf7a2f2baff230b6250734c6a62325f0b9f286 | |
parent | 153f359f37030efa351afc646b7c20ec86c43ec3 (diff) | |
download | FreeBSD-src-96b1d528f05e5a2f958fdd0ef631ce0cca9f5c21.zip FreeBSD-src-96b1d528f05e5a2f958fdd0ef631ce0cca9f5c21.tar.gz |
Added c_caddr_t: const char * version of the char * caddr_t, for
use in -Wall / -Wcast-qual fixes.
-rw-r--r-- | sys/sys/types.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/types.h b/sys/sys/types.h index c65fe67..390189d 100644 --- a/sys/sys/types.h +++ b/sys/sys/types.h @@ -36,7 +36,7 @@ * SUCH DAMAGE. * * @(#)types.h 8.6 (Berkeley) 2/19/95 - * $Id: types.h,v 1.26 1998/12/19 00:02:34 dt Exp $ + * $Id: types.h,v 1.27 1999/01/21 08:29:08 dillon Exp $ */ #ifndef _SYS_TYPES_H_ @@ -67,6 +67,7 @@ typedef int64_t quad_t; typedef quad_t * qaddr_t; typedef char * caddr_t; /* core address */ +typedef const char * c_caddr_t; /* core address */ typedef int32_t daddr_t; /* disk address */ typedef u_int32_t u_daddr_t; /* unsigned disk address */ typedef u_int32_t dev_t; /* device number */ |