From e7738c2df7477e53e2e73e0bb02f181d4cc98977 Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Sun, 1 Aug 1999 21:41:46 +0000 Subject: [PATCH] s/LDAP_CONST/const/ in ldap_pvt_asser() prototype --- include/ac/assert.h | 2 +- libraries/liblber/assert.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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", -- 2.39.5