From 42c9c098a3a64782f0c2ebe1ee8a9fc3904bb88a Mon Sep 17 00:00:00 2001 From: John Kohl Date: Fri, 19 Oct 1990 13:19:10 +0000 Subject: [PATCH] put the const in the right place git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1302 dc483132-0cff-0310-8789-dd5450dbe970 --- src/include/krb5/base-defs.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/include/krb5/base-defs.h b/src/include/krb5/base-defs.h index e76e7edae..7ee3211f6 100644 --- a/src/include/krb5/base-defs.h +++ b/src/include/krb5/base-defs.h @@ -66,8 +66,9 @@ typedef char * krb5_const_pointer; typedef krb5_data ** krb5_principal; /* array of strings */ /* CONVENTION: realm is first elem. */ -typedef const krb5_data ** krb5_const_principal; /* array of strings */ - /* CONVENTION: realm is first elem. */ +/* constant version thereof: */ +typedef krb5_data * const * krb5_const_principal; + #define krb5_princ_realm(princ) ((princ)[0]) #endif /* KRB5_BASE_DEFS__ */ -- 2.26.2