aboutsummaryrefslogtreecommitdiffstats
path: root/src/path.h
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2008-10-20 22:18:42 +0200
committerMax Kellermann <max@duempel.org>2008-10-20 22:18:42 +0200
commit1d385190a07007ec7c4f7a880ab16ef4fce88cf4 (patch)
tree6a29a2dd7ef62cbb8b9b19f6e228143d91a6c5a5 /src/path.h
parent49260e6db20aa865e485a02fae5c0249d1df0d8a (diff)
downloadmpd-1d385190a07007ec7c4f7a880ab16ef4fce88cf4.tar.gz
mpd-1d385190a07007ec7c4f7a880ab16ef4fce88cf4.tar.xz
mpd-1d385190a07007ec7c4f7a880ab16ef4fce88cf4.zip
path: removed pathcpy_trunc()
There was only one user of pathcpy_trunc(), which can be eliminated.
Diffstat (limited to 'src/path.h')
-rw-r--r--src/path.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/src/path.h b/src/path.h
index 739985a0c..6b288a26c 100644
--- a/src/path.h
+++ b/src/path.h
@@ -61,12 +61,6 @@ char *rpp2app_r(char *dst, const char *rel_path);
/* strips extra "///" and leading "/" and trailing "/" */
char *sanitizePathDup(const char *path);
-/* this is actually like strlcpy (OpenBSD), but we don't actually want to
- * blindly use it everywhere, only for paths that are OK to truncate (for
- * error reporting and such.
- * dest must be MPD_PATH_MAX bytes large (which is standard in mpd) */
-void pathcpy_trunc(char *dest, const char *src);
-
/*
* converts a path passed from a client into an absolute FS path.
* paths passed by clients do NOT have file suffixes in them