|
From: | Alex Bennée |
Subject: | Re: [PATCH v3 09/16] semihosting: Clean up global variable shadowing |
Date: | Wed, 04 Oct 2023 13:16:36 +0100 |
User-agent: | mu4e 1.11.21; emacs 29.1.50 |
Philippe Mathieu-Daudé <philmd@linaro.org> writes: > Fix: > > semihosting/config.c:134:49: error: declaration shadows a variable in the > global scope [-Werror,-Wshadow] > int qemu_semihosting_config_options(const char *optarg) > ^ > > /Library/Developer/CommandLineTools/SDKs/MacOSX.sdk/usr/include/getopt.h:77:14: > note: previous declaration is here > extern char *optarg; /* getopt(3) external > variables */ I'm going to assume the getopt.h is somehow swept up by osdep.h? Anyway: Acked-by: Alex Bennée <alex.bennee@linaro.org> -- Alex Bennée Virtualisation Tech Lead @ Linaro
[Prev in Thread] | Current Thread | [Next in Thread] |