fix the set_errcall signature. addresses #246

git-svn-id: file:///svn/tokudb@1552 c7de825b-a66e-492c-adef-691d508d4ae1
This commit is contained in:
Rich Prohaska 2008-01-08 12:36:08 +00:00
parent bf90221f59
commit fa00e966be

View file

@ -116,7 +116,7 @@ int DbEnv::get_flags(u_int32_t *flagsp) {
return maybe_throw_error(ret);
}
extern "C" void toku_db_env_errcall_c(DB_ENV *dbenv_c, const char *errpfx, const char *msg) {
extern "C" void toku_db_env_errcall_c(const DB_ENV *dbenv_c, const char *errpfx, const char *msg) {
DbEnv *dbenv = (DbEnv *) dbenv_c->api1_internal;
dbenv->errcall(dbenv, errpfx, msg);
}