From: Eric Bollengier Date: Wed, 11 Nov 2009 13:43:21 +0000 (+0100) Subject: Remove extra _ of _dbg_print_db func X-Git-Tag: Release-5.0.0~267 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=0ad42e9e66214c6d89e862e90aa05fb915546494;p=bacula%2Fbacula Remove extra _ of _dbg_print_db func --- diff --git a/bacula/src/cats/protos.h b/bacula/src/cats/protos.h index e8726ba894..7f73c7b092 100644 --- a/bacula/src/cats/protos.h +++ b/bacula/src/cats/protos.h @@ -59,7 +59,7 @@ void db_end_transaction(JCR *jcr, B_DB *mdb); int db_int64_handler(void *ctx, int num_fields, char **row); int db_list_handler(void *ctx, int num_fields, char **row); void db_thread_cleanup(); -void _dbg_print_db(JCR *jcr, FILE *fp); +void dbg_print_db(JCR *jcr, FILE *fp); int db_int_handler(void *ctx, int num_fields, char **row); /* sql_create.c */ diff --git a/bacula/src/cats/sql.c b/bacula/src/cats/sql.c index f058d8340b..5426c371de 100644 --- a/bacula/src/cats/sql.c +++ b/bacula/src/cats/sql.c @@ -824,7 +824,7 @@ bool db_open_batch_connexion(JCR *jcr, B_DB *mdb) * ie, after a fatal signal and before exiting the program * Print information about a B_DB object. */ -void _dbg_print_db(JCR *jcr, FILE *fp) +void dbg_print_db(JCR *jcr, FILE *fp) { B_DB *mdb = jcr->db; diff --git a/bacula/src/dird/dird.c b/bacula/src/dird/dird.c index 72999509ed..2e3a4c7ce0 100644 --- a/bacula/src/dird/dird.c +++ b/bacula/src/dird/dird.c @@ -329,7 +329,7 @@ int main (int argc, char *argv[]) init_job_server(director->MaxConcurrentJobs); - dbg_jcr_add_hook(_dbg_print_db); /* used to debug B_DB connexion after fatal signal */ + dbg_jcr_add_hook(dbg_print_db); /* used to debug B_DB connexion after fatal signal */ // init_device_resources();