diff options
author | Max Kellermann <max@duempel.org> | 2013-01-17 00:43:27 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2013-01-17 00:43:27 +0100 |
commit | 21fe376d1d9ffa6064cf89faab7860d443d9f7fd (patch) | |
tree | ff5c7a9861dcf3cd69549b356305f083d7c594e3 /src/Path.hxx | |
parent | e22ef6c481ab6fff3a704c515804101d9ae399a1 (diff) | |
download | mpd-21fe376d1d9ffa6064cf89faab7860d443d9f7fd.tar.gz mpd-21fe376d1d9ffa6064cf89faab7860d443d9f7fd.tar.xz mpd-21fe376d1d9ffa6064cf89faab7860d443d9f7fd.zip |
path: convert to C++
Diffstat (limited to '')
-rw-r--r-- | src/Path.hxx (renamed from src/path.h) | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/src/path.h b/src/Path.hxx index 00c368e70..db3f95961 100644 --- a/src/path.h +++ b/src/Path.hxx @@ -1,5 +1,5 @@ /* - * Copyright (C) 2003-2011 The Music Player Daemon Project + * Copyright (C) 2003-2013 The Music Player Daemon Project * http://www.musicpd.org * * This program is free software; you can redistribute it and/or modify @@ -17,8 +17,10 @@ * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. */ -#ifndef MPD_PATH_H -#define MPD_PATH_H +#ifndef MPD_PATH_HXX +#define MPD_PATH_HXX + +#include "check.h" #include <limits.h> @@ -32,9 +34,9 @@ # endif #endif -void path_global_init(void); +void path_global_init(); -void path_global_finish(void); +void path_global_finish(); /** * Converts a file name in the filesystem charset to UTF-8. Returns @@ -50,6 +52,6 @@ fs_charset_to_utf8(const char *path_fs); char * utf8_to_fs_charset(const char *path_utf8); -const char *path_get_fs_charset(void); +const char *path_get_fs_charset(); #endif |