aboutsummaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
authorGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-05 17:40:04 +0000
committerGravatar bsalomon@google.com <bsalomon@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-09-05 17:40:04 +0000
commit100abf49e10544bc4f436bf1f38e6929779621f4 (patch)
tree4ae7d19bebf5b7d79f646cfa25ed1560330004fe /tools
parent1f45e934b68a5985b2127ec871ff593c3bfc7c2e (diff)
Shut up some Mac (xcode 3) warnings
Review URL: http://codereview.appspot.com/6503053/ git-svn-id: http://skia.googlecode.com/svn/trunk@5402 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rw-r--r--tools/skdiff_main.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/skdiff_main.cpp b/tools/skdiff_main.cpp
index aa31ec94e8..5fbf3ff515 100644
--- a/tools/skdiff_main.cpp
+++ b/tools/skdiff_main.cpp
@@ -57,7 +57,7 @@ enum Result {
// Returns the Result with this name.
// If there is no Result with this name, returns kNumResultTypes.
// TODO: Is there a better return value for the fall-through case?
-Result getResultByName(const char *name) {
+static Result getResultByName(const char *name) {
if (0 == strcmp("EqualBits", name)) {
return kEqualBits;
}
@@ -86,7 +86,7 @@ Result getResultByName(const char *name) {
}
// Returns a text description of the given Result type.
-const char *getResultDescription(Result result) {
+static const char *getResultDescription(Result result) {
switch (result) {
case kEqualBits:
return "contain exactly the same bits";