From 5636e76b60167512ce24afe65e9de4fa112c10e4 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Tue, 20 Sep 2011 13:47:55 +0000 Subject: do not assign pointers to literal strings to variables that might be changed; from kristaps@ --- mdoc_man.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc_man.c') diff --git a/mdoc_man.c b/mdoc_man.c index dbadb796..3792426b 100644 --- a/mdoc_man.c +++ b/mdoc_man.c @@ -31,8 +31,8 @@ struct manact { int (*cond)(DECL_ARGS); int (*pre)(DECL_ARGS); void (*post)(DECL_ARGS); - char *prefix; - char *suffix; + const char *prefix; + const char *suffix; }; static void print_word(const char *); -- cgit