From: Kurt Zeilenga Date: Tue, 2 Feb 1999 23:15:45 +0000 (+0000) Subject: first arg of ldbm_db_errcall could be a const char * instead of char *. X-Git-Tag: OPENLDAP_SLAPD_BACK_LDAP~657 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0c2ce661fb0f20f27b561076aaaf610e024f84a2;p=openldap first arg of ldbm_db_errcall could be a const char * instead of char *. --- diff --git a/servers/slapd/back-ldbm/proto-back-ldbm.h b/servers/slapd/back-ldbm/proto-back-ldbm.h index a6ba91b729..5650befa2b 100644 --- a/servers/slapd/back-ldbm/proto-back-ldbm.h +++ b/servers/slapd/back-ldbm/proto-back-ldbm.h @@ -127,7 +127,7 @@ int index_add_values LDAP_P(( Backend *be, char *type, struct berval **vals, ID void ldbm_back_startup LDAP_P(( Backend *be )); void ldbm_back_shutdown LDAP_P(( Backend *be )); -void ldbm_db_errcall LDAP_P(( char *prefix, char *message )); +void ldbm_db_errcall LDAP_P(( const char *prefix, char *message )); /* * nextid.c diff --git a/servers/slapd/back-ldbm/startup.c b/servers/slapd/back-ldbm/startup.c index e61144dc17..2b52a07ecc 100644 --- a/servers/slapd/back-ldbm/startup.c +++ b/servers/slapd/back-ldbm/startup.c @@ -87,7 +87,7 @@ ldbm_back_shutdown( #ifdef HAVE_BERKELEY_DB2 void -ldbm_db_errcall( char *prefix, char *message ) +ldbm_db_errcall( const char *prefix, char *message ) { Debug( LDAP_DEBUG_ANY, "ldbm_db_errcall(): %s %s", prefix, message, 0 ); }