aboutsummaryrefslogtreecommitdiffstats
path: root/src/db/upnp/Util.hxx
diff options
context:
space:
mode:
authorMax Kellermann <max@duempel.org>2014-01-22 09:47:32 +0100
committerMax Kellermann <max@duempel.org>2014-01-22 09:55:51 +0100
commit9747cc9e587a9987a7bdeee0ccf9b3b56f3c803e (patch)
treefb45a43c97fbd145908d46647dc36ef2b0055b21 /src/db/upnp/Util.hxx
parent7b44dea4b1dcfcd74b2648e8be0d6e38918cbe0b (diff)
downloadmpd-9747cc9e587a9987a7bdeee0ccf9b3b56f3c803e.tar.gz
mpd-9747cc9e587a9987a7bdeee0ccf9b3b56f3c803e.tar.xz
mpd-9747cc9e587a9987a7bdeee0ccf9b3b56f3c803e.zip
db/upnp/Device: replace std::vector with a std::string pointer
Diffstat (limited to 'src/db/upnp/Util.hxx')
-rw-r--r--src/db/upnp/Util.hxx5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/db/upnp/Util.hxx b/src/db/upnp/Util.hxx
index 5812c5d9f..005dd3360 100644
--- a/src/db/upnp/Util.hxx
+++ b/src/db/upnp/Util.hxx
@@ -28,9 +28,8 @@
std::string
caturl(const std::string& s1, const std::string& s2);
-gcc_pure
-std::string
-trimstring(const char *p, size_t length);
+void
+trimstring(std::string &s, const char *ws = " \t\n");
std::string
path_getfather(const std::string &s);