diff options
| author | John Kohl <jtkohl@mit.edu> | 1990-10-19 13:19:10 +0000 |
|---|---|---|
| committer | John Kohl <jtkohl@mit.edu> | 1990-10-19 13:19:10 +0000 |
| commit | 42c9c098a3a64782f0c2ebe1ee8a9fc3904bb88a (patch) | |
| tree | 523ced6e5250d4e406b0a741ad96cf0134f5881c /src/include | |
| parent | d9f33519e2fb69e94da9166a51655ce20fece168 (diff) | |
| download | krb5-42c9c098a3a64782f0c2ebe1ee8a9fc3904bb88a.tar.gz krb5-42c9c098a3a64782f0c2ebe1ee8a9fc3904bb88a.tar.xz krb5-42c9c098a3a64782f0c2ebe1ee8a9fc3904bb88a.zip | |
put the const in the right place
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1302 dc483132-0cff-0310-8789-dd5450dbe970
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__ */ |
