From: Marco van Wieringen Date: Mon, 7 Feb 2011 20:54:05 +0000 (+0100) Subject: B_DB is a class now not a struct lets fix the include files. X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=684b8f085e1401de9b8dd97604fa973abb45317a;p=bacula%2Fbacula B_DB is a class now not a struct lets fix the include files. --- diff --git a/bacula/src/jcr.h b/bacula/src/jcr.h index 2cffad669a..eb7b284289 100644 --- a/bacula/src/jcr.h +++ b/bacula/src/jcr.h @@ -143,7 +143,7 @@ enum { /* Forward referenced structures */ class JCR; struct FF_PKT; -struct B_DB; +class B_DB; struct ATTR_DBR; struct Plugin; struct save_pkt; diff --git a/bacula/src/lib/message.h b/bacula/src/lib/message.h index de7fd4094c..f5ad45f76e 100644 --- a/bacula/src/lib/message.h +++ b/bacula/src/lib/message.h @@ -148,7 +148,7 @@ bool get_trace(void); const char *get_basename(const char *pathname); -struct B_DB; +class B_DB; typedef void (*sql_query_func)(JCR *jcr, const char *cmd); typedef void (*sql_escape_func)(JCR *jcr, B_DB* db, char *snew, char *old, int len);