qemu/include/semihosting
Philippe Mathieu-Daudé afb81fe854 semihosting: Clean up global variable shadowing
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 */
               ^

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Message-ID: <20231004120019.93101-10-philmd@linaro.org>
Reviewed-by: Alex Bennée <alex.bennee@linaro.org>
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Markus Armbruster <armbru@redhat.com>
2023-10-06 13:27:48 +02:00
..
common-semi.h semihosting: Move common-semi.h to include/semihosting/ 2022-06-28 04:35:07 +05:30
console.h semihosting: Remove qemu_semihosting_log_out 2022-07-12 22:32:12 +02:00
guestfd.h semihosting: Create qemu_semihosting_guestfd_init 2022-06-28 04:36:50 +05:30
semihost.h semihosting: Clean up global variable shadowing 2023-10-06 13:27:48 +02:00
softmmu-uaccess.h semihosting: Add target_strlen for softmmu-uaccess.h 2022-06-28 04:35:06 +05:30
syscalls.h semihosting: Create semihost_sys_poll_one 2022-06-28 04:41:37 +05:30