From da693822730d1712d44da85389e4d8b659b3b5df Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sun, 4 Jan 2009 19:37:19 +0100 Subject: path: removed pfx_dir() Use GLib's g_build_filename() instead of pfx_dir(). --- src/path.h | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'src/path.h') 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 -- cgit v1.2.3