From 0c2ce661fb0f20f27b561076aaaf610e024f84a2 Mon Sep 17 00:00:00 2001 From: Kurt Zeilenga Date: Tue, 2 Feb 1999 23:15:45 +0000 Subject: [PATCH] first arg of ldbm_db_errcall could be a const char * instead of char *. --- servers/slapd/back-ldbm/proto-back-ldbm.h | 2 +- servers/slapd/back-ldbm/startup.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 ); } -- 2.39.5