Added c_caddr_t: const char * version of the char * caddr_t, for

use in -Wall / -Wcast-qual fixes.
This commit is contained in:
Matthew Dillon 1999-01-27 19:01:44 +00:00
parent a1c1e16ada
commit b28536d503
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=43290

View File

@ -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 */