Commit 7f351833 authored by Max Kellermann's avatar Max Kellermann

Mapper: don't use C-style prototypes

parent f1f871f1
...@@ -59,7 +59,8 @@ mapper_init(AllocatedPath &&_playlist_dir) ...@@ -59,7 +59,8 @@ mapper_init(AllocatedPath &&_playlist_dir)
mapper_set_playlist_dir(std::move(_playlist_dir)); mapper_set_playlist_dir(std::move(_playlist_dir));
} }
void mapper_finish(void) void
mapper_finish()
{ {
} }
...@@ -109,7 +110,7 @@ map_fs_to_utf8(Path path_fs) ...@@ -109,7 +110,7 @@ map_fs_to_utf8(Path path_fs)
#endif #endif
const AllocatedPath & const AllocatedPath &
map_spl_path(void) map_spl_path()
{ {
return playlist_dir_fs; return playlist_dir_fs;
} }
......
...@@ -97,7 +97,8 @@ protected: ...@@ -97,7 +97,8 @@ protected:
#ifdef WIN32 #ifdef WIN32
bool SeekEOF() { bool SeekEOF() {
return SetFilePointer(handle, 0, nullptr, FILE_END); return SetFilePointer(handle, 0, nullptr,
FILE_END) != 0xffffffff;
} }
#endif #endif
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment