]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
ldap: Remove redundant typedef for fr_ldap_query_t
authorArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 14 Oct 2021 15:44:27 +0000 (10:44 -0500)
committerArran Cudbard-Bell <a.cudbardb@freeradius.org>
Thu, 14 Oct 2021 21:49:11 +0000 (16:49 -0500)
src/lib/ldap/base.h

index 8f78923eba288c5865f0c267baf8c7802706cdeb..d6f75ede83f7a33469e91fe0cb88a7f8b76a6639 100644 (file)
@@ -407,7 +407,7 @@ typedef void (*fr_ldap_result_parser_t)(fr_ldap_query_t *query, LDAPMessage *hea
  * libldap structures will be freed by the talloc destructor.
  * The same structure is used both for search queries and modifications
  */
-typedef struct fr_ldap_query_s {
+struct fr_ldap_query_s {
        fr_rb_node_t            node;           //!< Entry in the tree of outstanding queries.
 
        LDAPURLDesc             *ldap_url;      //!< parsed URL for current query if the source
@@ -451,7 +451,7 @@ typedef struct fr_ldap_query_s {
        LDAPMessage             *result;        //!< Head of LDAP results list.
 
        fr_ldap_result_code_t   ret;            //!< Result code
-} fr_ldap_query_t;
+};
 
 /** Parsed LDAP referral structure
  *