From ed2b4520242da5261ed3b8cea4091981516f37ff Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 27 Jun 2011 15:59:54 +1000 Subject: 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 --- source3/param/loadparm.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'source3/param') 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() */ -- cgit