No anonymous unions.

This commit is contained in:
Kurt Zeilenga 1999-06-02 22:40:58 +00:00
parent f61625264f
commit f472d3abcf
5 changed files with 5 additions and 5 deletions

View file

@ -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;

View file

@ -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;

View file

@ -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;

View file

@ -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

View file

@ -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;