=================================================================== RCS file: /cvs/mandoc/out.c,v retrieving revision 1.10 retrieving revision 1.12 diff -u -p -r1.10 -r1.12 --- mandoc/out.c 2009/11/08 09:23:35 1.10 +++ mandoc/out.c 2010/01/01 17:14:30 1.12 @@ -1,4 +1,4 @@ -/* $Id: out.c,v 1.10 2009/11/08 09:23:35 kristaps Exp $ */ +/* $Id: out.c,v 1.12 2010/01/01 17:14:30 kristaps Exp $ */ /* * Copyright (c) 2009 Kristaps Dzonsons * @@ -14,6 +14,10 @@ * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF * OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. */ +#ifdef HAVE_CONFIG_H +#include "config.h" +#endif + #include #include @@ -45,10 +49,6 @@ (t) = 3; } \ while (/* CONSTCOND */ 0) -#ifdef __linux__ -extern size_t strlcat(char *, const char *, size_t); -#endif - /* * Convert a `scaling unit' to a consistent form, or fail. Scaling * units are documented in groff.7, mdoc.7, man.7. @@ -330,6 +330,11 @@ a2roffdeco(enum roffdeco *d, case ('['): break; + + case ('c'): + *d = DECO_NOSPACE; + *sz = 1; + return(1); default: *d = DECO_SPECIAL;