From 5aa92f9841162a480f194e958b70c9186127963b Mon Sep 17 00:00:00 2001 From: Marco van Wieringen Date: Mon, 7 Feb 2011 21:54:05 +0100 Subject: [PATCH] B_DB is a class now not a struct lets fix the include files. --- bacula/src/jcr.h | 2 +- bacula/src/lib/message.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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); -- 2.39.5