From af2cc5bc2e13a61e6ab3d495d3edb34d94a42964 Mon Sep 17 00:00:00 2001 From: Alan Coopersmith Date: Fri, 30 Sep 2011 20:19:44 -0700 Subject: Add const attributes to clear gcc -Wwrite-strings warnings Signed-off-by: Alan Coopersmith Reviewed-by: Jeremy Huddleston --- prtype.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'prtype.c') 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]; -- cgit v1.2.1