mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 16:49:39 -05:00
No anonymous unions.
This commit is contained in:
parent
f61625264f
commit
f472d3abcf
5 changed files with 5 additions and 5 deletions
|
|
@ -81,7 +81,7 @@ typedef struct errs {
|
|||
#define E_NOOWNER 11
|
||||
#define E_GROUPUNKNOWN 12
|
||||
char *e_addr;
|
||||
union {
|
||||
union e_union_u {
|
||||
char *e_u_loop;
|
||||
LDAPMessage *e_u_msg;
|
||||
} e_union;
|
||||
|
|
|
|||
|
|
@ -306,7 +306,7 @@ modify_dn (LDAP * ld, char *targetdn, char *pwattr, char *oldpw,
|
|||
|
||||
strvals[0] = buf;
|
||||
strvals[1] = NULL;
|
||||
mod.mod_vals.modv_strvals = strvals;
|
||||
mod.mod_values = strvals;
|
||||
mod.mod_type = pwattr;
|
||||
mod.mod_op = LDAP_MOD_REPLACE;
|
||||
mods[0] = &mod;
|
||||
|
|
|
|||
|
|
@ -61,7 +61,7 @@ void
|
|||
lutil_SHA1Transform( uint32 *state, const unsigned char *buffer )
|
||||
{
|
||||
uint32 a, b, c, d, e;
|
||||
typedef union {
|
||||
typedef union char64long16_u {
|
||||
unsigned char c[64];
|
||||
u_int l[16];
|
||||
} CHAR64LONG16;
|
||||
|
|
|
|||
|
|
@ -55,7 +55,7 @@ struct ldop {
|
|||
#define LDOP_SEARCH 0x01
|
||||
char **ldop_suffixes;
|
||||
char *ldop_dn;
|
||||
union {
|
||||
union ldapop_params_u {
|
||||
struct ldsrchparms LDsrchparams;
|
||||
} ldop_params;
|
||||
#define ldop_srch ldop_params.LDsrchparams
|
||||
|
|
|
|||
|
|
@ -79,7 +79,7 @@ typedef struct ava {
|
|||
typedef struct filter {
|
||||
unsigned long f_choice; /* values taken from ldap.h */
|
||||
|
||||
union {
|
||||
union f_un_u {
|
||||
/* present */
|
||||
char *f_un_type;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue