Mapper: don't use C-style prototypes

This commit is contained in:
Max Kellermann 2015-03-24 20:38:29 +01:00
parent f1f871f103
commit 7f3518333d
2 changed files with 5 additions and 3 deletions

View File

@ -59,7 +59,8 @@ mapper_init(AllocatedPath &&_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)
#endif
const AllocatedPath &
map_spl_path(void)
map_spl_path()
{
return playlist_dir_fs;
}

View File

@ -97,7 +97,8 @@ protected:
#ifdef WIN32
bool SeekEOF() {
return SetFilePointer(handle, 0, nullptr, FILE_END);
return SetFilePointer(handle, 0, nullptr,
FILE_END) != 0xffffffff;
}
#endif