mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-04-18 15:20:35 +08:00
dup is a global declaration on some platforms - avoid warning when
compiling with maximum error reporting
This commit is contained in:
parent
e0726c2b55
commit
2bd23df432
@ -584,11 +584,11 @@ ber_bvdup LDAP_P((
|
||||
|
||||
LBER_F( struct berval * )
|
||||
ber_mem2bv LDAP_P((
|
||||
LDAP_CONST char *, ber_len_t len, int dup, struct berval *bv));
|
||||
LDAP_CONST char *, ber_len_t len, int duplicate, struct berval *bv));
|
||||
|
||||
LBER_F( struct berval * )
|
||||
ber_str2bv LDAP_P((
|
||||
LDAP_CONST char *, ber_len_t len, int dup, struct berval *bv));
|
||||
LDAP_CONST char *, ber_len_t len, int duplicate, struct berval *bv));
|
||||
|
||||
#define ber_bvstr(a) ((ber_str2bv)((a), 0, 0, NULL))
|
||||
#define ber_bvstrdup(a) ((ber_str2bv)((a), 0, 1, NULL))
|
||||
|
Loading…
x
Reference in New Issue
Block a user