summaryrefslogtreecommitdiff
path: root/source3/lib
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-02-09 11:17:02 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-02-10 16:45:12 +1100
commit40bf23d862c92a3c519cffaf2175514a51ce3865 (patch)
tree21665a808ab16fe2d9d4cc40e82f0a79bf50a47d /source3/lib
parent7824fd59547adeb84c367d5459ae5f55a3161328 (diff)
downloadsamba-40bf23d862c92a3c519cffaf2175514a51ce3865.tar.gz
samba-40bf23d862c92a3c519cffaf2175514a51ce3865.tar.bz2
samba-40bf23d862c92a3c519cffaf2175514a51ce3865.zip
s3-lib: Remove unused pid_path()
piddir.c calls lp_piddir() directly. Found by callcatcher: http://www.skynet.ie/~caolan/Packages/callcatcher.html Andrew Bartlett
Diffstat (limited to 'source3/lib')
-rw-r--r--source3/lib/util.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/source3/lib/util.c b/source3/lib/util.c
index b783c7e9c9..4ae872aa3b 100644
--- a/source3/lib/util.c
+++ b/source3/lib/util.c
@@ -1556,19 +1556,6 @@ char *lock_path(const char *name)
}
/**
- * @brief Returns an absolute path to a file in the Samba pid directory.
- *
- * @param name File to find, relative to PIDDIR.
- *
- * @retval Pointer to a talloc'ed string containing the full path.
- **/
-
-char *pid_path(const char *name)
-{
- return xx_path(name, lp_piddir());
-}
-
-/**
* @brief Returns an absolute path to a file in the Samba state directory.
*
* @param name File to find, relative to STATEDIR.