aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-08 21:54:58 +0000
committerGravatar humper@google.com <humper@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2013-04-08 21:54:58 +0000
commit8e029e6e59024b80e8f71924369a540699754de3 (patch)
tree96ad8cee163ca3cd3633e1c4bfa7fe62a5484388
parent75e3ca127cd14fffc9c8df7ea03d6529fb001831 (diff)
silence android warning
git-svn-id: http://skia.googlecode.com/svn/trunk@8567 2bbb7eff-a529-9590-31e7-b0007b416f81
-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());
}