diff options
author | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-09 11:31:43 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@openbsd.org> | 2014-07-09 11:31:43 +0000 |
commit | 6cee093f50dd39b838bed35cea223b8d4a610f06 (patch) | |
tree | 2046a9ba0de8f00ad38d56abdceb94d3d278f9b4 /mdoc.c | |
parent | 2022aa054cb9e537289b1b4d6296e0410e4f98a0 (diff) | |
download | mandoc-6cee093f50dd39b838bed35cea223b8d4a610f06.tar.gz mandoc-6cee093f50dd39b838bed35cea223b8d4a610f06.tar.zst mandoc-6cee093f50dd39b838bed35cea223b8d4a610f06.zip |
mark defos as const; nobody needs to change it,
and it is occasionally useful to be able to pass literal strings
Diffstat (limited to 'mdoc.c')
-rw-r--r-- | mdoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.219 2014/07/07 15:03:43 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.220 2014/07/09 11:31:43 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -189,7 +189,7 @@ mdoc_free(struct mdoc *mdoc) */ struct mdoc * mdoc_alloc(struct roff *roff, struct mparse *parse, - char *defos, int quick) + const char *defos, int quick) { struct mdoc *p; |