From: Roman Kiryanov Date: Tue, 18 Jun 2024 22:45:53 +0000 (-0700) Subject: exec: avoid using C++ keywords in function parameters X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=17c7df806b39d512271749ffdfc0376473744d63;p=qemu.git exec: avoid using C++ keywords in function parameters to use the QEMU headers with a C++ compiler. Signed-off-by: Roman Kiryanov Link: https://lore.kernel.org/r/20240618224553.878869-1-rkir@google.com Signed-off-by: Paolo Bonzini --- diff --git a/include/exec/memory.h b/include/exec/memory.h index 0903513d13..154626f9ad 100644 --- a/include/exec/memory.h +++ b/include/exec/memory.h @@ -925,7 +925,7 @@ struct MemoryListener { * the current transaction. */ void (*log_start)(MemoryListener *listener, MemoryRegionSection *section, - int old, int new); + int old_val, int new_val); /** * @log_stop: @@ -944,7 +944,7 @@ struct MemoryListener { * the current transaction. */ void (*log_stop)(MemoryListener *listener, MemoryRegionSection *section, - int old, int new); + int old_val, int new_val); /** * @log_sync: