summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/param/loadparm.c12
2 files changed, 0 insertions, 13 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 39d607c205..96ccd34345 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1675,7 +1675,6 @@ int lp_servicenumber(const char *pszServiceName);
bool share_defined(const char *service_name);
struct share_params *get_share_params(TALLOC_CTX *mem_ctx,
const char *sharename);
-struct share_params *snum2params_static(int snum);
const char *volume_label(int snum);
bool lp_domain_master(void);
bool lp_domain_master_true_or_auto(void);
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index b80c31bedf..3ed2308c86 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9775,18 +9775,6 @@ struct share_params *get_share_params(TALLOC_CTX *mem_ctx,
return result;
}
-/*
- * This is a hack for a transition period until we transformed all code from
- * service numbers to struct share_params.
- */
-
-struct share_params *snum2params_static(int snum)
-{
- static struct share_params result;
- result.service = snum;
- return &result;
-}
-
/*******************************************************************
A useful volume label function.
********************************************************************/