summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2008-10-20 13:24:16 +0200
committerJelmer Vernooij <jelmer@samba.org>2008-10-20 13:24:16 +0200
commit93e52145a887b1865d41ae5272047423bbfb33b3 (patch)
tree274d290243a2918a7a7efbcd7cf7b583cb72f66f
parent6b82b2ff130a1217e3d4f0df645a7a7e1678b62b (diff)
downloadsamba-93e52145a887b1865d41ae5272047423bbfb33b3.tar.gz
samba-93e52145a887b1865d41ae5272047423bbfb33b3.tar.bz2
samba-93e52145a887b1865d41ae5272047423bbfb33b3.zip
Provide two symbols to allow ndrdump compiled by Samba 3 to be used for
Samba 4.
-rw-r--r--lib/util/debug.c1
-rw-r--r--source4/lib/charset/util_unistr.c2
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/util/debug.c b/lib/util/debug.c
index faec52aec8..98aabc554b 100644
--- a/lib/util/debug.c
+++ b/lib/util/debug.c
@@ -37,6 +37,7 @@ static int debug_all_class_hack = 1;
int *DEBUGLEVEL_CLASS = &debug_all_class_hack; /* For samba 3 */
static bool debug_all_class_isset_hack = true;
bool *DEBUGLEVEL_CLASS_ISSET = &debug_all_class_isset_hack; /* For samba 3 */
+XFILE *dbf = NULL; /* For Samba 3*/
/* the registered mutex handlers */
static struct {
diff --git a/source4/lib/charset/util_unistr.c b/source4/lib/charset/util_unistr.c
index 5f3b2c53f1..e4f4bb551a 100644
--- a/source4/lib/charset/util_unistr.c
+++ b/source4/lib/charset/util_unistr.c
@@ -37,7 +37,7 @@ static void *lowcase_table;
/*******************************************************************
load the case handling tables
********************************************************************/
-static void load_case_tables(void)
+void load_case_tables(void)
{
TALLOC_CTX *mem_ctx;