diff --git a/content.h b/content.h index ff5929d02a..a1ee15b082 100644 --- a/content.h +++ b/content.h @@ -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); diff --git a/tasks/task_save.c b/tasks/task_save.c index 07ee1dff54..b9ad6c50fe 100644 --- a/tasks/task_save.c +++ b/tasks/task_save.c @@ -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))