diff options
author | Max Kellermann <max@duempel.org> | 2009-01-04 19:37:19 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-01-04 19:37:19 +0100 |
commit | da693822730d1712d44da85389e4d8b659b3b5df (patch) | |
tree | c6af7f8c5eab082cbdab029066b8f8758906d6b3 /src/path.h | |
parent | 1a04e571686ea9c9bfca2701564a41f7d9d12a9e (diff) | |
download | mpd-da693822730d1712d44da85389e4d8b659b3b5df.tar.gz mpd-da693822730d1712d44da85389e4d8b659b3b5df.tar.xz mpd-da693822730d1712d44da85389e4d8b659b3b5df.zip |
path: removed pfx_dir()
Use GLib's g_build_filename() instead of pfx_dir().
Diffstat (limited to 'src/path.h')
-rw-r--r-- | src/path.h | 12 |
1 files changed, 0 insertions, 12 deletions
diff --git a/src/path.h b/src/path.h index e99c02f05..3bb088b5f 100644 --- a/src/path.h +++ b/src/path.h @@ -44,16 +44,4 @@ void path_set_fs_charset(const char *charset); const char *path_get_fs_charset(void); -/* - * pfx_dir - sets dst="$pfx/$path" and returns a pointer to path inside * dst - * this will unconditionally put a '/' between pfx and path unlike - * the static pfx_path() function in path.c - * dst is assumed to be MAXPATHLEN in size - * dst can point to the same location as path, but not pfx, which makes - * this better than sprintf(3) in some cases - */ -char *pfx_dir(char *dst, - const char *path, const size_t path_len, - const char *pfx, const size_t pfx_len); - #endif |