s3-lib Remove unused lib_path()
authorAndrew Bartlett <abartlet@samba.org>
Mon, 6 Jun 2011 04:22:12 +0000 (14:22 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Mon, 6 Jun 2011 07:37:51 +0000 (17:37 +1000)
source3/include/proto.h
source3/lib/util.c

index f732a536550df12ae8550f14bdf6a7bf52a7d15c..1cdc0c9081a07cb18342c04445e61ebf08f1337c 100644 (file)
@@ -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);
index 173e9067cc24da3ea2f3d2d6e79666e8b662503b..dc91fa06a152cbf6e79415d099bd1187de4fee9b 100644 (file)
@@ -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.
  *