From: Hallvard Furuseth Date: Sun, 1 Aug 1999 21:41:46 +0000 (+0000) Subject: s/LDAP_CONST/const/ in ldap_pvt_asser() prototype X-Git-Tag: TWEB_OL_BASE~337 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=e7738c2df7477e53e2e73e0bb02f181d4cc98977;p=openldap s/LDAP_CONST/const/ in ldap_pvt_asser() prototype --- diff --git a/include/ac/assert.h b/include/ac/assert.h index 6222ef576e..6849638cfd 100644 --- a/include/ac/assert.h +++ b/include/ac/assert.h @@ -31,7 +31,7 @@ */ LDAP_F(void) ber_pvt_assert LDAP_P(( - LDAP_CONST char *file, int line, LDAP_CONST char *test)); + const char *file, int line, const char *test )); /* Can't use LDAP_STRING(test), that'd expand to "test" */ #if defined(__STDC__) || defined(__cplusplus) diff --git a/libraries/liblber/assert.c b/libraries/liblber/assert.c index ce8f4b8cc8..f71df23435 100644 --- a/libraries/liblber/assert.c +++ b/libraries/liblber/assert.c @@ -23,7 +23,7 @@ */ void -ber_pvt_assert( LDAP_CONST char *file, int line, LDAP_CONST char *test ) +ber_pvt_assert( const char *file, int line, const char *test ) { fprintf(stderr, "Assertion failed: %s, file %s, line %d\n",