aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/ErrorTest.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ErrorTest.cpp')
-rw-r--r--tests/ErrorTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ErrorTest.cpp b/tests/ErrorTest.cpp
index cbaf9d185b..c3b11533c1 100644
--- a/tests/ErrorTest.cpp
+++ b/tests/ErrorTest.cpp
@@ -18,7 +18,7 @@
SkClearLastError(); \
}
-void cb(SkError err, void *context) {
+static void cb(SkError err, void *context) {
int *context_ptr = static_cast<int *>(context);
SkDebugf("CB (0x%x): %s\n", *context_ptr, SkGetLastErrorString());
}