"Das U-Boot" Source Tree

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>

Tom Rini fbfcb614 f88d48cc

+1 -1
+1 -1
lib/libavb/avb_cmdline.c
··· 394 394 return ret; 395 395 } 396 396 397 - AvbCmdlineSubstList* avb_new_cmdline_subst_list() { 397 + AvbCmdlineSubstList* avb_new_cmdline_subst_list(void) { 398 398 return (AvbCmdlineSubstList*)avb_calloc(sizeof(AvbCmdlineSubstList)); 399 399 } 400 400