projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d9f3351
)
put the const in the right place
author
John Kohl
<jtkohl@mit.edu>
Fri, 19 Oct 1990 13:19:10 +0000
(13:19 +0000)
committer
John Kohl
<jtkohl@mit.edu>
Fri, 19 Oct 1990 13:19:10 +0000
(13:19 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1302
dc483132
-0cff-0310-8789-
dd5450dbe970
src/include/krb5/base-defs.h
patch
|
blob
|
history
diff --git
a/src/include/krb5/base-defs.h
b/src/include/krb5/base-defs.h
index e76e7edae0d777759129abcffed154aaca6f1dc7..7ee3211f608fa5fdbebfa7f7dc6b26ac2a0c7f10 100644
(file)
--- 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__ */