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
|
|
@ -300,7 +300,7 @@ static void pr_manager_helper_instance_init(Object *obj)
|
|||
}
|
||||
|
||||
static void pr_manager_helper_class_init(ObjectClass *klass,
|
||||
void *class_data G_GNUC_UNUSED)
|
||||
const void *class_data G_GNUC_UNUSED)
|
||||
{
|
||||
PRManagerClass *prmgr_klass = PR_MANAGER_CLASS(klass);
|
||||
UserCreatableClass *uc_klass = USER_CREATABLE_CLASS(klass);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue