]> git.sur5r.net Git - openldap/commitdiff
first arg of ldbm_db_errcall could be a const char * instead of char *.
authorKurt Zeilenga <kurt@openldap.org>
Tue, 2 Feb 1999 23:15:45 +0000 (23:15 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Tue, 2 Feb 1999 23:15:45 +0000 (23:15 +0000)
servers/slapd/back-ldbm/proto-back-ldbm.h
servers/slapd/back-ldbm/startup.c

index a6ba91b729827746051eec19975dfe915c1db0ca..5650befa2bf53f9ec4ee3b537357318a7e3871e0 100644 (file)
@@ -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
index e61144dc1724b2219b8cef371508a1081666dd8c..2b52a07ecceb2573f7325fb871aeee513c5b6afc 100644 (file)
@@ -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 );
 }