diff options
author | Andrew Bartlett <abartlet@samba.org> | 2011-06-06 14:22:12 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2011-06-06 17:37:51 +1000 |
commit | 876b1b3d198e2306c36423bfb1449870c74181fd (patch) | |
tree | 69fd05c12907cce9bd761e7557f20109c5843046 | |
parent | 1dfc6fa558e7735341a7095aa46e5568a4f56cfe (diff) | |
download | samba-876b1b3d198e2306c36423bfb1449870c74181fd.tar.gz samba-876b1b3d198e2306c36423bfb1449870c74181fd.tar.bz2 samba-876b1b3d198e2306c36423bfb1449870c74181fd.zip |
s3-lib Remove unused lib_path()
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/lib/util.c | 13 |
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. |