Added c_caddr_t: const char * version of the char * caddr_t, for
use in -Wall / -Wcast-qual fixes.
This commit is contained in:
parent
a1c1e16ada
commit
b28536d503
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user