From 070284004871328aae13c0aafb1d25a1ced95258 Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 19 Oct 1990 08:53:32 +0000 Subject: [PATCH] add krb5_const_pointer git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1278 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/base-defs.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/include/krb5/base-defs.h b/src/include/krb5/base-defs.h index 443a96557..81bca9429 100644 --- a/src/include/krb5/base-defs.h +++ b/src/include/krb5/base-defs.h @@ -53,6 +53,7 @@ typedef krb5_data ** krb5_principal; /* array of strings */ #ifdef __STDC__ typedef void * krb5_pointer; +typedef void const * krb5_const_pointer; #define PROTOTYPE(x) x #define DECLARG(type, val) type val #define OLDDECLARG(type, val) @@ -61,6 +62,7 @@ typedef void * krb5_pointer; #define const #define volatile typedef char * krb5_pointer; +typedef char * krb5_const_pointer; #define PROTOTYPE(x) () #define DECLARG(type, val) val #define OLDDECLARG(type, val) type val; -- 2.26.2