=================================================================== RCS file: /cvs/mandoc/term_ascii.c,v retrieving revision 1.9 retrieving revision 1.12 diff -u -p -r1.9 -r1.12 --- mandoc/term_ascii.c 2010/07/13 23:53:20 1.9 +++ mandoc/term_ascii.c 2011/01/25 17:32:04 1.12 @@ -1,4 +1,4 @@ -/* $Id: term_ascii.c,v 1.9 2010/07/13 23:53:20 schwarze Exp $ */ +/* $Id: term_ascii.c,v 1.12 2011/01/25 17:32:04 kristaps Exp $ */ /* * Copyright (c) 2010 Kristaps Dzonsons * @@ -26,6 +26,7 @@ #include #include +#include "mandoc.h" #include "out.h" #include "term.h" #include "main.h" @@ -47,8 +48,7 @@ ascii_alloc(char *outopts) const char *toks[2]; char *v; - if (NULL == (p = term_alloc(TERMENC_ASCII))) - return(NULL); + p = term_alloc(TERMENC_ASCII); p->tabwidth = 5; p->defrmargin = 78; @@ -104,6 +104,7 @@ static void ascii_letter(struct termp *p, char c) { + /* LINTED */ putchar(c); }