summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/param/loadparm.c5
2 files changed, 0 insertions, 6 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7527e04e67..b0f17b3a4a 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -1571,7 +1571,6 @@ int lp_numservices(void);
void lp_dump(FILE *f, bool show_defaults, int maxtoprint);
void lp_dump_one(FILE * f, bool show_defaults, int snum);
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);
const char *volume_label(int snum);
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index 0c769e61d2..c8d5a0994f 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -9266,11 +9266,6 @@ int lp_servicenumber(const char *pszServiceName)
return (iService);
}
-bool share_defined(const char *service_name)
-{
- return (lp_servicenumber(service_name) != -1);
-}
-
/*******************************************************************
A useful volume label function.
********************************************************************/