mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-07-26 11:53:53 -06:00
qom: Have class_init() take a const data argument
Mechanical change using gsed, then style manually adapted to pass checkpatch.pl script. Suggested-by: Richard Henderson <richard.henderson@linaro.org> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Richard Henderson <richard.henderson@linaro.org> Message-Id: <20250424194905.82506-4-philmd@linaro.org>
This commit is contained in:
parent
f1fa787b92
commit
12d1a768bd
1121 changed files with 1774 additions and 1707 deletions
|
@ -97,7 +97,8 @@ static bool event_loop_base_can_be_deleted(UserCreatable *uc)
|
|||
return true;
|
||||
}
|
||||
|
||||
static void event_loop_base_class_init(ObjectClass *klass, void *class_data)
|
||||
static void event_loop_base_class_init(ObjectClass *klass,
|
||||
const void *class_data)
|
||||
{
|
||||
UserCreatableClass *ucc = USER_CREATABLE_CLASS(klass);
|
||||
ucc->complete = event_loop_base_complete;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue