diff options
| author | Roman Kiryanov <rkir@google.com> | 2024-06-18 15:45:53 -0700 |
|---|---|---|
| committer | Paolo Bonzini <pbonzini@redhat.com> | 2024-06-28 14:44:51 +0200 |
| commit | 17c7df806b39d512271749ffdfc0376473744d63 (patch) | |
| tree | ca4b72b588c0372416bf7433e7b509a2be86f345 /include/exec/memory.h | |
| parent | d656aaa1369adcd20baea485d4a96a4bfd6b1c86 (diff) | |
| download | focaccia-qemu-17c7df806b39d512271749ffdfc0376473744d63.tar.gz focaccia-qemu-17c7df806b39d512271749ffdfc0376473744d63.zip | |
exec: avoid using C++ keywords in function parameters
to use the QEMU headers with a C++ compiler. Signed-off-by: Roman Kiryanov <rkir@google.com> Link: https://lore.kernel.org/r/20240618224553.878869-1-rkir@google.com Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
Diffstat (limited to 'include/exec/memory.h')
| -rw-r--r-- | include/exec/memory.h | 4 |
1 files changed, 2 insertions, 2 deletions
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: |