mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-27 01:59:38 -05: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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Reference in a new issue