summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/lib/util.c13
2 files changed, 0 insertions, 14 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index f732a53655..1cdc0c9081 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -570,7 +570,6 @@ void *smb_xmalloc_array(size_t size, unsigned int count);
char *myhostname(void);
char *lock_path(const char *name);
char *pid_path(const char *name);
-char *lib_path(const char *name);
char *modules_path(const char *name);
char *data_path(const char *name);
char *state_path(const char *name);
diff --git a/source3/lib/util.c b/source3/lib/util.c
index 173e9067cc..dc91fa06a1 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1514,19 +1514,6 @@ char *pid_path(const char *name)
}
/**
- * @brief Returns an absolute path to a file in the Samba lib directory.
- *
- * @param name File to find, relative to LIBDIR.
- *
- * @retval Pointer to a string containing the full path.
- **/
-
-char *lib_path(const char *name)
-{
- return talloc_asprintf(talloc_tos(), "%s/%s", get_dyn_LIBDIR(), name);
-}
-
-/**
* @brief Returns an absolute path to a file in the Samba modules directory.
*
* @param name File to find, relative to MODULESDIR.