diff options
author | Tom Rini <trini@konsulko.com> | 2023-02-27 17:08:35 -0500 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2023-03-22 15:22:48 -0400 |
commit | fbfcb614e05890d30264c2b965fd28bfd4d8ed27 (patch) | |
tree | 13bc4bbfab737b9c2299539f462db49130048b28 /lib | |
parent | f88d48cc74f0e78b14fed812101d94de65e43802 (diff) | |
download | u-boot-fbfcb614e05890d30264c2b965fd28bfd4d8ed27.zip u-boot-fbfcb614e05890d30264c2b965fd28bfd4d8ed27.tar.gz u-boot-fbfcb614e05890d30264c2b965fd28bfd4d8ed27.tar.bz2 |
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>
Diffstat (limited to 'lib')
-rw-r--r-- | lib/libavb/avb_cmdline.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/libavb/avb_cmdline.c b/lib/libavb/avb_cmdline.c index cb54e65..a58ce6c 100644 --- a/lib/libavb/avb_cmdline.c +++ b/lib/libavb/avb_cmdline.c @@ -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)); } |