Missing volatile in AnnotateBenignRaceSized declaration.

BUG=skia:

Review URL: https://codereview.chromium.org/380473002
This commit is contained in:
Mike Klein 2014-07-08 15:54:06 -04:00
parent d5e3e6ae1b
commit f7a180b10f

View File

@ -20,7 +20,7 @@ extern "C" {
void AnnotateIgnoreReadsBegin(const char* file, int line); void AnnotateIgnoreReadsBegin(const char* file, int line);
void AnnotateIgnoreReadsEnd(const char* file, int line); void AnnotateIgnoreReadsEnd(const char* file, int line);
void AnnotateBenignRaceSized(const char* file, int line, void AnnotateBenignRaceSized(const char* file, int line,
const void* addr, long size, const char* desc); const volatile void* addr, long size, const char* desc);
} // extern "C" } // extern "C"
// SK_ANNOTATE_UNPROTECTED_READ can wrap any variable read to tell TSAN to ignore that it appears to // SK_ANNOTATE_UNPROTECTED_READ can wrap any variable read to tell TSAN to ignore that it appears to