=================================================================== RCS file: /cvs/mandoc/term_ascii.c,v retrieving revision 1.8 retrieving revision 1.12 diff -u -p -r1.8 -r1.12 --- mandoc/term_ascii.c 2010/06/30 12:30:36 1.8 +++ mandoc/term_ascii.c 2011/01/25 17:32:04 1.12 @@ -1,6 +1,6 @@ -/* $Id: term_ascii.c,v 1.8 2010/06/30 12:30:36 kristaps Exp $ */ +/* $Id: term_ascii.c,v 1.12 2011/01/25 17:32:04 kristaps Exp $ */ /* - * Copyright (c) 2008, 2009 Kristaps Dzonsons + * Copyright (c) 2010 Kristaps Dzonsons * * Permission to use, copy, modify, and distribute this software for any * purpose with or without fee is hereby granted, provided that the above @@ -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); }