address feedback

This commit is contained in:
Jamiras 2021-02-18 07:44:52 -07:00
parent 2d841715cb
commit 2280d126f3
2 changed files with 2 additions and 2 deletions

View File

@ -52,7 +52,7 @@ bool content_load_state(const char* path, bool load_to_backup_buffer, bool autol
bool content_save_state(const char *path, bool save_to_disk, bool autosave);
/* Gets the number of bytes required to serialize the state. */
size_t content_get_serialized_size();
size_t content_get_serialized_size(void);
/* Serializes the current state. buffer must be at least content_get_serialized_size bytes */
bool content_serialize_state(void* buffer, size_t buffer_size);

View File

@ -620,7 +620,7 @@ static bool content_get_rastate_size(rastate_size_info_t* size)
return true;
}
size_t content_get_serialized_size()
size_t content_get_serialized_size(void)
{
rastate_size_info_t size;
if (!content_get_rastate_size(&size))