summaryrefslogtreecommitdiff
path: root/prtype.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-30 20:19:44 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2011-09-30 20:19:44 -0700
commitaf2cc5bc2e13a61e6ab3d495d3edb34d94a42964 (patch)
treef3cf6b505190ac41b4c683ef74e1b9e6ff5e8c6c /prtype.c
parent7fbf2ff3c925a0cc55024bc8350ad9e9bf8d1e47 (diff)
downloadxscope-af2cc5bc2e13a61e6ab3d495d3edb34d94a42964.tar.gz
Add const attributes to clear gcc -Wwrite-strings warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com> Reviewed-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'prtype.c')
-rw-r--r--prtype.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/prtype.c b/prtype.c
index 81c9a61..371d315 100644
--- a/prtype.c
+++ b/prtype.c
@@ -68,7 +68,7 @@
/* print representation of a character for debugging */
-static char *
+static const char *
printrep (unsigned short c)
{
static char pr[8];