From e89bf95300ae09c24e858398bcd79e2135603925 Mon Sep 17 00:00:00 2001 From: Ken Raeburn Date: Mon, 21 May 2007 21:58:24 +0000 Subject: 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 --- src/include/k5-int.h | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) (limited to 'src/include') 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; -- cgit