rename struct krb5_name_canon_* name collisions
C++ does not permit struct names and typedef names to be the same. Rename struct krb5_name_canon_rule to struct krb5_name_canon_rule_data and struct krb5_name_canon_iterator to struct krb5_name_canon_iterator_data Change-Id: I92766e0878bf0beef92de1649baf9e5cafbf86aa
This commit is contained in:
@@ -929,8 +929,8 @@ typedef enum krb5_name_canon_rule_options {
|
|||||||
KRB5_NCRO_SECURE = 1 << 2
|
KRB5_NCRO_SECURE = 1 << 2
|
||||||
} krb5_name_canon_rule_options;
|
} krb5_name_canon_rule_options;
|
||||||
|
|
||||||
typedef struct krb5_name_canon_rule *krb5_name_canon_rule;
|
typedef struct krb5_name_canon_rule_data *krb5_name_canon_rule;
|
||||||
typedef struct krb5_name_canon_iterator *krb5_name_canon_iterator;
|
typedef struct krb5_name_canon_iterator_data *krb5_name_canon_iterator;
|
||||||
|
|
||||||
/*
|
/*
|
||||||
*
|
*
|
||||||
|
@@ -1256,7 +1256,7 @@ typedef enum krb5_name_canon_rule_type {
|
|||||||
KRB5_NCRT_NSS
|
KRB5_NCRT_NSS
|
||||||
} krb5_name_canon_rule_type;
|
} 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 next;
|
||||||
krb5_name_canon_rule_type type;
|
krb5_name_canon_rule_type type;
|
||||||
krb5_name_canon_rule_options options;
|
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;
|
rules = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
struct krb5_name_canon_iterator {
|
struct krb5_name_canon_iterator_data {
|
||||||
krb5_name_canon_rule rules;
|
krb5_name_canon_rule rules;
|
||||||
krb5_name_canon_rule rule;
|
krb5_name_canon_rule rule;
|
||||||
krb5_const_principal in_princ;
|
krb5_const_principal in_princ;
|
||||||
|
Reference in New Issue
Block a user