diff options
author | 2012-10-08 14:41:10 +0000 | |
---|---|---|
committer | 2012-10-08 14:41:10 +0000 | |
commit | a5b7cc00b9e95c4c6c02b5bd26aba5e6401f7fd7 (patch) | |
tree | e0eea078cebb5ee7e92904a1783e74776bd0b460 /tools | |
parent | e21a68df5b9cb0fb7840fbc2a1b71c3a42be8a16 (diff) |
Remove unnecessary function declaration.
R=robertphillips@google.com
Review URL: https://codereview.appspot.com/6593082
git-svn-id: http://skia.googlecode.com/svn/trunk@5851 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tools')
-rw-r--r-- | tools/filtermain.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tools/filtermain.cpp b/tools/filtermain.cpp index 903be5f442..c256adde31 100644 --- a/tools/filtermain.cpp +++ b/tools/filtermain.cpp @@ -9,7 +9,6 @@ #include "SkPicture.h" #include "SkStream.h" -/////////////////////////////////////////////////////////////////////////////// static void usage() { SkDebugf("Usage: filter -i inFile -o outFile [-h|--help]"); SkDebugf("\n\n"); @@ -18,9 +17,9 @@ static void usage() { SkDebugf(" -h|--help : Show this help message.\n"); } -int filter_main(int argc, char** argv); +// This function is not marked as 'static' so it can be referenced externally +// in the iOS build. int filter_main(int argc, char** argv) { - SkGraphics::Init(); SkString inFile, outFile; @@ -89,4 +88,3 @@ int main(int argc, char * const argv[]) { return filter_main(argc, (char**) argv); } #endif - |