qemu-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] [NFC] Mark locally used symbols as static.


From: Stefan Hajnoczi
Subject: Re: [PATCH] [NFC] Mark locally used symbols as static.
Date: Tue, 23 Mar 2021 13:36:04 +0000

On Mon, Mar 22, 2021 at 10:55:42PM +0300, Yuri Gribov wrote:
> diff --git a/scripts/tracetool/format/c.py b/scripts/tracetool/format/c.py
> index c390c18..7e89ba3 100644
> --- a/scripts/tracetool/format/c.py
> +++ b/scripts/tracetool/format/c.py
> @@ -49,7 +49,7 @@ def generate(events, backend, group):
>              sstate = "TRACE_%s_ENABLED" % e.name.upper(),
>              dstate = e.api(e.QEMU_DSTATE))
> 
> -    out('TraceEvent *%(group)s_trace_events[] = {',
> +    out('static TraceEvent *%(group)s_trace_events[] = {',
>          group = group.lower())
> 
>      for e in events:

Reviewed-by: Stefan Hajnoczi <stefanha@redhat.com>

Attachment: signature.asc
Description: PGP signature


reply via email to

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