From b28536d5037acfb2c518e35d9bb76e9296baa783 Mon Sep 17 00:00:00 2001 From: Matthew Dillon Date: Wed, 27 Jan 1999 19:01:44 +0000 Subject: [PATCH] Added c_caddr_t: const char * version of the char * caddr_t, for use in -Wall / -Wcast-qual fixes. --- sys/sys/types.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sys/sys/types.h b/sys/sys/types.h index c65fe6712abd..390189de8a8d 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 */