aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2009-01-04 19:37:19 +0100
committerMax Kellermann <max@duempel.org>2009-01-04 19:37:19 +0100
commitda693822730d1712d44da85389e4d8b659b3b5df (patch)
treec6af7f8c5eab082cbdab029066b8f8758906d6b3 /src/path.h
parent1a04e571686ea9c9bfca2701564a41f7d9d12a9e (diff)
downloadmpd-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.h12
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