diff --git a/lib/krb5/krb5.h b/lib/krb5/krb5.h index 9d1141ad4..71b0eb1b2 100644 --- a/lib/krb5/krb5.h +++ b/lib/krb5/krb5.h @@ -929,8 +929,8 @@ typedef enum krb5_name_canon_rule_options { KRB5_NCRO_SECURE = 1 << 2 } krb5_name_canon_rule_options; -typedef struct krb5_name_canon_rule *krb5_name_canon_rule; -typedef struct krb5_name_canon_iterator *krb5_name_canon_iterator; +typedef struct krb5_name_canon_rule_data *krb5_name_canon_rule; +typedef struct krb5_name_canon_iterator_data *krb5_name_canon_iterator; /* * diff --git a/lib/krb5/principal.c b/lib/krb5/principal.c index ebd752790..27efcab11 100644 --- a/lib/krb5/principal.c +++ b/lib/krb5/principal.c @@ -1256,7 +1256,7 @@ typedef enum krb5_name_canon_rule_type { KRB5_NCRT_NSS } krb5_name_canon_rule_type; -struct krb5_name_canon_rule { +struct krb5_name_canon_rule_data { krb5_name_canon_rule next; krb5_name_canon_rule_type type; krb5_name_canon_rule_options options; @@ -1931,7 +1931,7 @@ _krb5_free_name_canon_rules(krb5_context context, krb5_name_canon_rule rules) rules = NULL; } -struct krb5_name_canon_iterator { +struct krb5_name_canon_iterator_data { krb5_name_canon_rule rules; krb5_name_canon_rule rule; krb5_const_principal in_princ;