aboutsummaryrefslogtreecommitdiffhomepage
path: root/fuzz/FuzzParsePath.cpp
diff options
context:
space:
mode:
authorGravatar kjlubick <kjlubick@google.com>2016-10-03 11:49:45 -0700
committerGravatar Commit bot <commit-bot@chromium.org>2016-10-03 11:49:45 -0700
commit14f984bc6bdb4327c3f577b7ccbc61a710443288 (patch)
tree334e35cb2fce92d5459f7250691ab4981e522a7a /fuzz/FuzzParsePath.cpp
parente2f732f475fbeff9cce2dd4023a183fa2492d2ad (diff)
Add fuzz executable to GN
Diffstat (limited to 'fuzz/FuzzParsePath.cpp')
-rw-r--r--fuzz/FuzzParsePath.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/fuzz/FuzzParsePath.cpp b/fuzz/FuzzParsePath.cpp
index fe1355037d..6eb7f3b713 100644
--- a/fuzz/FuzzParsePath.cpp
+++ b/fuzz/FuzzParsePath.cpp
@@ -13,7 +13,7 @@
// Most of this is taken from random_parse_path.cpp and adapted to use the Fuzz
// instead of SKRandom
-const struct Legal {
+static const struct Legal {
char fSymbol;
int fScalars;
} gLegal[] = {
@@ -29,10 +29,10 @@ const struct Legal {
{ 'Z', 0 },
};
-bool gEasy = false; // set to true while debugging to suppress unusual whitespace
+static bool gEasy = false; // set to true while debugging to suppress unusual whitespace
// mostly do nothing, then bias towards spaces
-const char gWhiteSpace[] = { 0, 0, 0, 0, 0, 0, 0, 0, ' ', ' ', ' ', ' ', 0x09, 0x0D, 0x0A };
+static const char gWhiteSpace[] = { 0, 0, 0, 0, 0, 0, 0, 0, ' ', ' ', ' ', ' ', 0x09, 0x0D, 0x0A };
static void add_white(Fuzz* fuzz, SkString* atom) {
if (gEasy) {