From 2bd23df432a45f66073a43336f63b3f7ef7b4fc8 Mon Sep 17 00:00:00 2001 From: Luke Howard Date: Tue, 9 Nov 2004 05:39:09 +0000 Subject: [PATCH] dup is a global declaration on some platforms - avoid warning when compiling with maximum error reporting --- include/lber.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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)) -- 2.39.5