From 6cee093f50dd39b838bed35cea223b8d4a610f06 Mon Sep 17 00:00:00 2001 From: Ingo Schwarze Date: Wed, 9 Jul 2014 11:31:43 +0000 Subject: mark defos as const; nobody needs to change it, and it is occasionally useful to be able to pass literal strings --- mdoc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mdoc.c') diff --git a/mdoc.c b/mdoc.c index bdff8e18..159d4a02 100644 --- a/mdoc.c +++ b/mdoc.c @@ -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 * Copyright (c) 2010, 2012, 2013, 2014 Ingo Schwarze @@ -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; -- cgit v1.2.3