From c03891c0d5a1abe739791c7705d8aa82cc3614b4 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Wed, 22 Jul 2015 19:47:22 +0200 Subject: [PATCH] param: move dnsdomain from generate_param to EXTRA_GLOBALS This is alongside realm_original which is of the same kind. Signed-off-by: Michael Adam Reviewed-by: Jeremy Allison --- lib/param/loadparm.h | 1 + script/generate_param.py | 1 - 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/param/loadparm.h b/lib/param/loadparm.h index 656b20db837..89dcb17727c 100644 --- a/lib/param/loadparm.h +++ b/lib/param/loadparm.h @@ -243,6 +243,7 @@ enum case_handling {CASE_LOWER,CASE_UPPER}; #define LOADPARM_EXTRA_GLOBALS \ struct parmlist_entry *param_opt; \ + char *dnsdomain; \ char *realm_original; const char* server_role_str(uint32_t role); diff --git a/script/generate_param.py b/script/generate_param.py index 7315d868a4f..351ea6bbb40 100644 --- a/script/generate_param.py +++ b/script/generate_param.py @@ -241,7 +241,6 @@ def make_param_defs(path_in, path_out, scope): file_out.write("struct loadparm_global \n") file_out.write("{\n") file_out.write("\tTALLOC_CTX *ctx; /* Context for talloced members */\n") - file_out.write("\tchar * dnsdomain;\n") elif scope == "LOCAL": file_out.write("/**\n") file_out.write(" * This structure describes a single service.\n")