diff options
Diffstat (limited to 'src/include')
| -rw-r--r-- | src/include/krb5/base-defs.h | 5 |
1 files 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__ */ |
