mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-28 07:31:15 +00:00
libavb: Fix a warning with clang-15
With clang-15 we now will get warnings such as: warning: a function declaration without a prototype is deprecated in all versions of C [-Wstrict-prototypes] And it is easy enough to address this warning here, as we aren't concerned with re-syncing with an upstream. Signed-off-by: Tom Rini <trini@konsulko.com> Reviewed-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
parent
f88d48cc74
commit
fbfcb614e0
1 changed files with 1 additions and 1 deletions
|
@ -394,7 +394,7 @@ out:
|
|||
return ret;
|
||||
}
|
||||
|
||||
AvbCmdlineSubstList* avb_new_cmdline_subst_list() {
|
||||
AvbCmdlineSubstList* avb_new_cmdline_subst_list(void) {
|
||||
return (AvbCmdlineSubstList*)avb_calloc(sizeof(AvbCmdlineSubstList));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue