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/libmdoc.h | |
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/libmdoc.h')
-rw-r--r-- | usr.bin/mandoc/libmdoc.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/mandoc/libmdoc.h b/usr.bin/mandoc/libmdoc.h index 363751ceb91..224743682fa 100644 --- a/usr.bin/mandoc/libmdoc.h +++ b/usr.bin/mandoc/libmdoc.h @@ -1,4 +1,4 @@ -/* $Id: libmdoc.h,v 1.55 2014/07/02 03:47:07 schwarze Exp $ */ +/* $Id: libmdoc.h,v 1.56 2014/07/09 11:30:07 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2010, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013 Ingo Schwarze <schwarze@openbsd.org> @@ -25,7 +25,7 @@ enum mdoc_next { struct mdoc { struct mparse *parse; /* parse pointer */ - char *defos; /* default argument for .Os */ + const char *defos; /* default argument for .Os */ int quick; /* abort parse early */ int flags; /* parse flags */ #define MDOC_HALT (1 << 0) /* error in parse: halt */ |