mirror of
https://github.com/libretro/RetroArch
synced 2025-03-30 16:20:27 +00:00
filestream_set_size can be made a static function
This commit is contained in:
parent
5b8f8b50e3
commit
43c9bb374d
@ -45,8 +45,6 @@ typedef struct RFILE RFILE;
|
||||
|
||||
int64_t filestream_get_size(RFILE *stream);
|
||||
|
||||
void filestream_set_size(RFILE *stream);
|
||||
|
||||
const char *filestream_get_ext(RFILE *stream);
|
||||
|
||||
/**
|
||||
|
@ -125,11 +125,8 @@ int64_t filestream_get_size(RFILE *stream)
|
||||
return stream->size;
|
||||
}
|
||||
|
||||
void filestream_set_size(RFILE *stream)
|
||||
static void filestream_set_size(RFILE *stream)
|
||||
{
|
||||
if (!stream)
|
||||
return;
|
||||
|
||||
filestream_seek(stream, 0, SEEK_SET);
|
||||
filestream_seek(stream, 0, SEEK_END);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user