From: Howard Chu Date: Sat, 13 Nov 2004 13:22:48 +0000 (+0000) Subject: Update BDB 4.3 errcall prototype again to silence warnings X-Git-Tag: OPENLDAP_REL_ENG_2_3_0ALPHA~327 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=ab25b433644d0b6e73499fb288e32778bd03851b;p=openldap Update BDB 4.3 errcall prototype again to silence warnings --- diff --git a/servers/slapd/back-bdb/error.c b/servers/slapd/back-bdb/error.c index d324ec5f46..4d2f22277a 100644 --- a/servers/slapd/back-bdb/error.c +++ b/servers/slapd/back-bdb/error.c @@ -25,7 +25,7 @@ #if DB_VERSION_FULL < 0x04030000 void bdb_errcall( const char *pfx, char * msg ) #else -void bdb_errcall( DB_ENV *env, const char *pfx, const char * msg ) +void bdb_errcall( const DB_ENV *env, const char *pfx, const char * msg ) #endif { #ifdef HAVE_EBCDIC diff --git a/servers/slapd/back-bdb/proto-bdb.h b/servers/slapd/back-bdb/proto-bdb.h index 6f264720f4..cb2db5644a 100644 --- a/servers/slapd/back-bdb/proto-bdb.h +++ b/servers/slapd/back-bdb/proto-bdb.h @@ -142,7 +142,7 @@ int bdb_fix_dn( Entry *e, int checkit ); #if DB_VERSION_FULL < 0x04030000 void bdb_errcall( const char *pfx, char * msg ); #else -void bdb_errcall( DB_ENV *env, const char *pfx, const char * msg ); +void bdb_errcall( const DB_ENV *env, const char *pfx, const char * msg ); #endif #ifdef HAVE_EBCDIC