提交 a822837d 编写于 作者: P Peter Maydell

Merge remote-tracking branch 'remotes/stefanha/tags/tracing-pull-request' into staging

Tracing pull request

# gpg: Signature made Wed 12 Mar 2014 13:20:10 GMT using RSA key ID 81AB73C8
# gpg: Good signature from "Stefan Hajnoczi <stefanha@redhat.com>"
# gpg:                 aka "Stefan Hajnoczi <stefanha@gmail.com>"
# gpg: WARNING: This key is not certified with a trusted signature!
# gpg:          There is no indication that the signature belongs to the owner.
# Primary key fingerprint: 8695 A8BF D3F9 7CDA AC35  775A 9CA4 ABB3 81AB 73C8

* remotes/stefanha/tags/tracing-pull-request:
  trace: Fix build warnings for Win32 build
Signed-off-by: NPeter Maydell <peter.maydell@linaro.org>
......@@ -16,15 +16,15 @@
extern TraceEvent trace_events[];
static inline TraceEvent *trace_event_id(TraceEventID id)
static inline TraceEventID trace_event_count(void)
{
assert(id < trace_event_count());
return &trace_events[id];
return TRACE_EVENT_COUNT;
}
static inline TraceEventID trace_event_count(void)
static inline TraceEvent *trace_event_id(TraceEventID id)
{
return TRACE_EVENT_COUNT;
assert(id < trace_event_count());
return &trace_events[id];
}
static inline bool trace_event_is_pattern(const char *str)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册