summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2011-06-27 15:59:54 +1000
committerAndrew Bartlett <abartlet@samba.org>2011-06-28 09:33:05 +0200
commited2b4520242da5261ed3b8cea4091981516f37ff (patch)
treedf070734487ccc1b0b0fe701e7766142bbbc2759 /source3
parent9d72efd3748cadc8a62216bd6575d5e91e37e184 (diff)
downloadsamba-ed2b4520242da5261ed3b8cea4091981516f37ff.tar.gz
samba-ed2b4520242da5261ed3b8cea4091981516f37ff.tar.bz2
samba-ed2b4520242da5261ed3b8cea4091981516f37ff.zip
s3-param Remove lp_parm_string
Samba 4.0 makes no attempt to provide a loader environment that will allow a module that is not rebuilt to operate. Andrew Bartlett
Diffstat (limited to 'source3')
-rw-r--r--source3/param/loadparm.c12
1 files changed, 0 insertions, 12 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 317d184193..7374721fb9 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -6085,18 +6085,6 @@ static int lp_enum(const char *s,const struct enum_list *_enum)
#undef MISSING_PARAMETER
-/* DO NOT USE lp_parm_string ANYMORE!!!!
- * use lp_parm_const_string or lp_parm_talloc_string
- *
- * lp_parm_string is only used to let old modules find this symbol
- */
-#undef lp_parm_string
- char *lp_parm_string(const char *servicename, const char *type, const char *option);
- char *lp_parm_string(const char *servicename, const char *type, const char *option)
-{
- return lp_parm_talloc_string(lp_servicenumber(servicename), type, option, NULL);
-}
-
/* Return parametric option from a given service. Type is a part of option before ':' */
/* Parametric option has following syntax: 'Type: option = value' */
/* the returned value is talloced on the talloc_tos() */