diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2011-09-20 13:47:55 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2011-09-20 13:47:55 +0000 |
commit | 5636e76b60167512ce24afe65e9de4fa112c10e4 (patch) | |
tree | e9d8848d088a0da08ddabccf4322d6b80212c57f | |
parent | 90ee934d1309a0871b08fdb50a27fffcb1c6019e (diff) | |
download | mandoc-5636e76b60167512ce24afe65e9de4fa112c10e4.tar.gz |
do not assign pointers to literal strings
to variables that might be changed;
from kristaps@
-rw-r--r-- | mdoc_man.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 *); |