From: Kurt Zeilenga Date: Sat, 5 Jan 2002 18:54:04 +0000 (+0000) Subject: struct * are not to be const'ified X-Git-Tag: LDBM_PRE_GIANT_RWLOCK~271 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=f1afebe7271e3d6a08f40065fec09e6a0653b418;p=openldap struct * are not to be const'ified --- diff --git a/include/lber.h b/include/lber.h index c3bc498509..07f6cdc7f2 100644 --- a/include/lber.h +++ b/include/lber.h @@ -339,7 +339,7 @@ ber_put_ostring LDAP_P(( LBER_F( int ) ber_put_berval LDAP_P(( BerElement *ber, - LDAP_CONST struct berval *bv, + struct berval *bv, ber_tag_t tag )); LBER_F( int ) @@ -556,11 +556,11 @@ ber_bvecadd LDAP_P(( LBER_F( struct berval * ) ber_dupbv LDAP_P(( - struct berval *dst, LDAP_CONST struct berval *src )); + struct berval *dst, struct berval *src )); LBER_F( struct berval * ) ber_bvdup LDAP_P(( - LDAP_CONST struct berval *src )); + struct berval *src )); LBER_F( struct berval * ) ber_str2bv LDAP_P(( diff --git a/libraries/liblber/encode.c b/libraries/liblber/encode.c index 2474f6af59..886e5716df 100644 --- a/libraries/liblber/encode.c +++ b/libraries/liblber/encode.c @@ -305,7 +305,7 @@ ber_put_ostring( int ber_put_berval( BerElement *ber, - LDAP_CONST struct berval *bv, + struct berval *bv, ber_tag_t tag ) { assert( ber != NULL ); diff --git a/libraries/liblber/memory.c b/libraries/liblber/memory.c index 3c660f6a2b..cbf3f73041 100644 --- a/libraries/liblber/memory.c +++ b/libraries/liblber/memory.c @@ -447,7 +447,7 @@ ber_bvecadd( struct berval ***bvec, struct berval *bv ) struct berval * ber_dupbv( - struct berval *dst, LDAP_CONST struct berval *src ) + struct berval *dst, struct berval *src ) { struct berval *new; @@ -490,7 +490,7 @@ ber_dupbv( struct berval * ber_bvdup( - LDAP_CONST struct berval *src ) + struct berval *src ) { return ber_dupbv( NULL, src ); }