diff options
author | Max Kellermann <max@duempel.org> | 2013-08-07 19:54:38 +0200 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-08-07 19:59:09 +0200 |
commit | b76a29a69ae5412c3c1d101eefa9562990e74407 (patch) | |
tree | 5c60aa1bb5e6a8d134707291d12fb4ebb77c06c8 /src/Daemon.hxx | |
parent | abe090ec1f2255ce422f74e5b59bffc83aaff875 (diff) | |
download | mpd-b76a29a69ae5412c3c1d101eefa9562990e74407.tar.gz mpd-b76a29a69ae5412c3c1d101eefa9562990e74407.tar.xz mpd-b76a29a69ae5412c3c1d101eefa9562990e74407.zip |
ConfigPath: return a Path object
Migrate all callers to use Path directly, instead of doing the
conversion in each caller.
Diffstat (limited to 'src/Daemon.hxx')
-rw-r--r-- | src/Daemon.hxx | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/src/Daemon.hxx b/src/Daemon.hxx index 6c27ebc3e..c662b9bee 100644 --- a/src/Daemon.hxx +++ b/src/Daemon.hxx @@ -20,12 +20,14 @@ #ifndef MPD_DAEMON_HXX #define MPD_DAEMON_HXX +class Path; + #ifndef WIN32 void -daemonize_init(const char *user, const char *group, const char *pidfile); +daemonize_init(const char *user, const char *group, Path &&pidfile); #else static inline void -daemonize_init(const char *user, const char *group, const char *pidfile) +daemonize_init(const char *user, const char *group, Path &&pidfile) { (void)user; (void)group; (void)pidfile; } #endif |