On Tue, May 19, 2020 at 05:18:11PM +0100, Leif Lindholm wrote:
> On Tue, May 19, 2020 at 17:53:03 +0200, Javier Martinez Canillas wrote:
> > Nested functions are not supported in C, but are permitted as an extension
> > in the GNU C dialect. Commit cb2f15c5448 ("normal/main: Search for specific
> > config files for netboot") added a nested function which caused the build
> > to break when compiling with clang.
> >
> > Break that out into a static helper function to make the code portable
> > again.
>
> Works for me.
> Acked-by: Leif Lindholm <l...@nuviainc.com>

Reviewed-by: Daniel Kiper <daniel.ki...@oracle.com>

Daniel

_______________________________________________
Grub-devel mailing list
Grub-devel@gnu.org
https://lists.gnu.org/mailman/listinfo/grub-devel

Reply via email to