mirror of
https://github.com/izzy2lost/xemu.git
synced 2026-07-06 00:20:22 -07:00
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: Peter Maydell <peter.maydell@linaro.org>
This commit is contained in:
@@ -16,17 +16,17 @@
|
||||
extern TraceEvent trace_events[];
|
||||
|
||||
|
||||
static inline TraceEventID trace_event_count(void)
|
||||
{
|
||||
return TRACE_EVENT_COUNT;
|
||||
}
|
||||
|
||||
static inline TraceEvent *trace_event_id(TraceEventID id)
|
||||
{
|
||||
assert(id < trace_event_count());
|
||||
return &trace_events[id];
|
||||
}
|
||||
|
||||
static inline TraceEventID trace_event_count(void)
|
||||
{
|
||||
return TRACE_EVENT_COUNT;
|
||||
}
|
||||
|
||||
static inline bool trace_event_is_pattern(const char *str)
|
||||
{
|
||||
assert(str != NULL);
|
||||
|
||||
Reference in New Issue
Block a user