diff options
author | 2014-07-09 11:30:07 +0000 | |
---|---|---|
committer | 2014-07-09 11:30:07 +0000 | |
commit | df7ccdf1218d3081fc281175ae8bbcd248a5029f (patch) | |
tree | bec6b63dd0dd7fb5bd73b27e5457348885a6cca3 /usr.bin/mandoc/mdoc.c | |
parent | delete forgotten, obsolete rew_warn() prototype (diff) | |
download | wireguard-openbsd-df7ccdf1218d3081fc281175ae8bbcd248a5029f.tar.xz wireguard-openbsd-df7ccdf1218d3081fc281175ae8bbcd248a5029f.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 'usr.bin/mandoc/mdoc.c')
-rw-r--r-- | usr.bin/mandoc/mdoc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/mdoc.c b/usr.bin/mandoc/mdoc.c index adbc5238fcb..a5e2f7267b4 100644 --- a/usr.bin/mandoc/mdoc.c +++ b/usr.bin/mandoc/mdoc.c @@ -1,4 +1,4 @@ -/* $Id: mdoc.c,v 1.109 2014/07/07 15:03:24 schwarze Exp $ */ +/* $Id: mdoc.c,v 1.110 2014/07/09 11:30:07 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -185,7 +185,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; |