From: Luke Howard Date: Tue, 9 Nov 2004 05:39:09 +0000 (+0000) Subject: dup is a global declaration on some platforms - avoid warning when X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~355 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=2bd23df432a45f66073a43336f63b3f7ef7b4fc8;p=openldap dup is a global declaration on some platforms - avoid warning when compiling with maximum error reporting --- diff --git a/include/lber.h b/include/lber.h index e712b291c7..35b62102c6 100644 --- a/include/lber.h +++ b/include/lber.h @@ -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))