dup is a global declaration on some platforms - avoid warning when

compiling with maximum error reporting
This commit is contained in:
Luke Howard 2004-11-09 05:39:09 +00:00
parent e0726c2b55
commit 2bd23df432

View File

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