qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH 2/3] exec: avoid using C++ keywords in function parameters


From: Paolo Bonzini
Subject: Re: [PATCH 2/3] exec: avoid using C++ keywords in function parameters
Date: Thu, 20 Jun 2024 20:03:30 +0200
User-agent: Mozilla Thunderbird

On 6/19/24 00:45, Roman Kiryanov wrote:
to use the QEMU headers with a C++ compiler.

Google-Bug-Id: 331190993
Change-Id: Ic4e49b9c791616bb22c973922772b0494706092c
Signed-off-by: Roman Kiryanov <rkir@google.com>
---
  include/exec/memory.h | 4 ++--
  1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/include/exec/memory.h b/include/exec/memory.h
index 1be58f694c..d7591a60d9 100644
--- a/include/exec/memory.h
+++ b/include/exec/memory.h
@@ -945,7 +945,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:
@@ -964,7 +964,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:

Queued, thanks.

Paolo




reply via email to

[Prev in Thread] Current Thread [Next in Thread]