summaryrefslogtreecommitdiffstats
path: root/src/include/k5-int.h
diff options
context:
space:
mode:
authorKen Raeburn <raeburn@mit.edu>2007-05-21 21:58:24 +0000
committerKen Raeburn <raeburn@mit.edu>2007-05-21 21:58:24 +0000
commite89bf95300ae09c24e858398bcd79e2135603925 (patch)
tree63c1fea25249ce8712f9f001e1e5a4f4f446eea2 /src/include/k5-int.h
parent659539f21538312c0871ff42e31b826c3f99b72f (diff)
downloadkrb5-e89bf95300ae09c24e858398bcd79e2135603925.tar.gz
krb5-e89bf95300ae09c24e858398bcd79e2135603925.tar.xz
krb5-e89bf95300ae09c24e858398bcd79e2135603925.zip
Change struct _krb5_context.os_context into a single element instead of array[1]
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@19554 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/include/k5-int.h')
-rw-r--r--src/include/k5-int.h11
1 files changed, 1 insertions, 10 deletions
diff --git a/src/include/k5-int.h b/src/include/k5-int.h
index 0b01026ec..b5791a926 100644
--- a/src/include/k5-int.h
+++ b/src/include/k5-int.h
@@ -1203,16 +1203,7 @@ struct _krb5_context {
unsigned int in_tkt_ktype_count;
krb5_enctype *tgs_ktypes;
unsigned int tgs_ktype_count;
- /* This used to be a void*, but since we always allocate them
- together (though in different source files), and the types
- are declared in the same header, might as well just combine
- them.
-
- The array[1] is so the existing code treating the field as
- a pointer will still work. For cleanliness, it should
- eventually get changed to a single element instead of an
- array. */
- struct _krb5_os_context os_context[1];
+ struct _krb5_os_context os_context;
char *default_realm;
profile_t profile;
void *db_context;