lib/param: Rename param_enums.c to param_table.c
authorAndrew Bartlett <abartlet@samba.org>
Mon, 23 Jul 2012 02:35:02 +0000 (12:35 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 24 Jul 2012 07:16:44 +0000 (09:16 +0200)
This is in preperation for the parameter table being merged into this file.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett <abartlet@samba.org>
Autobuild-Date(master): Tue Jul 24 09:16:44 CEST 2012 on sn-devel-104

lib/param/loadparm.c
lib/param/param_table.c [moved from lib/param/param_enums.c with 100% similarity]
source3/param/loadparm.c

index 407b942dc986c4f773e6a4a781709d914a7d5c23..e744e79206a765c0e957e96168c8913eb154b1b0 100644 (file)
@@ -105,7 +105,7 @@ static bool handle_debuglevel(struct loadparm_context *lp_ctx, int unused,
 static bool handle_logfile(struct loadparm_context *lp_ctx, int unused,
                           const char *pszParmValue, char **ptr);
 
-#include "lib/param/param_enums.c"
+#include "lib/param/param_table.c"
 
 #define GLOBAL_VAR(name) offsetof(struct loadparm_global, name)
 #define LOCAL_VAR(name) offsetof(struct loadparm_service, name)
index cbabdf7cc857f93b5a4b24e0e6309b5d027cb691..a116531ebd547ca37a9905ab97303ad785e4986c 100644 (file)
@@ -324,7 +324,7 @@ static void add_to_file_list(const char *fname, const char *subfname);
 static bool lp_set_cmdline_helper(const char *pszParmName, const char *pszParmValue, bool store_values);
 static void free_param_opts(struct parmlist_entry **popts);
 
-#include "lib/param/param_enums.c"
+#include "lib/param/param_table.c"
 
 static const struct enum_list enum_printing[] = {
        {PRINT_SYSV, "sysv"},