summaryrefslogtreecommitdiff
path: root/src/scan.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:32:15 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-11-10 21:32:15 -0800
commit933b5d1f1fe9273d1a984707687b36ec61c4c5af (patch)
tree55380b7ce47074746febfd95e16ebb93381c2b7e /src/scan.c
parent696be14bcb4daef5280b425e297223c6ae530cb5 (diff)
Fix gcc -Wwrite-strings warnings that don't require public API changes
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'src/scan.c')
-rw-r--r--src/scan.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/scan.c b/src/scan.c
index e51d1ab..54c8da5 100644
--- a/src/scan.c
+++ b/src/scan.c
@@ -53,7 +53,7 @@
* minus \ and " for string compat
* and ? to avoid ANSI trigraphs. */
-static char *printable =
+static const char *printable =
" .XoO+@#$%&*=-;:>,<1234567890qwertyuipasdfghjklzxcvbnmMNBVCZ\
ASDFGHJKLPIUYTREWQ!~^/()_`'][{}|";