From 876b1b3d198e2306c36423bfb1449870c74181fd Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Mon, 6 Jun 2011 14:22:12 +1000 Subject: s3-lib Remove unused lib_path() --- source3/lib/util.c | 13 ------------- 1 file changed, 13 deletions(-) (limited to 'source3/lib') 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 @@ -1513,19 +1513,6 @@ char *pid_path(const char *name) return xx_path(name, lp_piddir()); } -/** - * @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. * -- cgit